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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Source Names (DSNs) on 2000, VS6

Status
Not open for further replies.

VBMental

Programmer
Feb 26, 2002
14
0
0
US
Can someone tell me the proper way to add DSN on Visual Basic 6?

I'm using Windows 2000. In my applicaton, I use an ADODC and in the connection string, I ofcourse put the location of the DSN that I created using Add User Connection, however 'Add User Connection' doesn't even come up as an option anymore on the project-explorer shortcut so I do not know how to create the data source. Also I tried looking for ODBC in the control panel, but that's not there either.
 
Ok, I located the control panel file 'odbccp32.cpl' and created the DSN. It worked but I wonder why this wasn't in my control panel to begin with, and I still wonder how come the option to 'Add UserConnection' or 'Add DataEnvironment' disappeared from my VB project explorer menu.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top