Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to display ADO data control Property Page at run-time

Status
Not open for further replies.

josephwalter

Programmer
Sep 16, 2002
80
US
When I'm developing a program in Visual Basic 6, I can select my ADO data control and click the build button next to the ConnectionString property. This brings up a nice Property Page that has all the controls on it I want, plus it has a Build button that brings up the Data Link Properties.

How can I include these Property Pages in my project so that they can be accessed at run-time?
 

You can do this for ODBC sources:
Dim conn As ADODB.Connection
Set conn = New ADODB.Connection
conn.Properties("Prompt") = adPromptAlways
conn.Open
 
That wasn't exactly what I was looking for, but I think it will work out okay.

Thanks for the help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top