HOWTO: Set the Connection Prompt Behavior of DataEnvironment (195982)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q195982 SUMMARY
When using the DataEnvironment in Visual Basic 6.0, it is not possible to
set the prompting behavior at design-time. This property is set to
adPromptComplete by default. You might want to change this property so that a
prompt is not displayed when establishing a connection to a database. To do
this you must set the "Prompt" property of the DataEnvironment at run-time.
REFERENCES
Hitchhiker's Guide to Visual Basic and SQL Server (sixth edition)
Visual Basic 6.0 Online Help
Modification Type: | Minor | Last Reviewed: | 3/14/2005 |
---|
Keywords: | kbDataEnv kbhowto KB195982 |
---|
|