How To Create and Implement a UserConnection (166281)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q166281 SUMMARY
The UserConnection Designer is one of the new ActiveX Designers included
with Visual Basic 5.0 and higher. It allows you to wrap SQL or a Stored
Procedure with code at design time so you can call it as a method at run
time. This way, Visual Basic will list the parameters of your stored
procedure in the object browser just as it does with any other VBA method.
This new functionality can replace the rdoPreparedStatement and rdoQuery
objects, although these are still available.
The following is an excerpt on the UserConnection from Books Online:
The UserConnection designer uses Visual Basic's ActiveX designer
architecture to provide design-time support for programmatic data
access. It allows you to create connection and query objects at
design time. These connections and queries are persisted as project-level
objects. You can pre-set properties, define new properties and methods,
and write code behind the objects to catch events.
REFERENCES
In Visual Basic Books Online see:
Guide to Building Client Server Applications in Visual Basic (Enterprise)
Part 1: Overview
Client/Server Tools
The UserConnection Designer
(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by
Jon Fowler, Microsoft Corporation
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbhowto KB166281 |
---|
|