Welcome to Dream.In.Code
Become a VB Expert!

Join 137,228 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,923 people online right now. Registration is fast and FREE... Join Now!




How to set ODBC connection programitically

 
Reply to this topicStart new topic

How to set ODBC connection programitically

nasreen
15 Mar, 2007 - 06:50 AM
Post #1

New D.I.C Head
*

Joined: 15 Mar, 2007
Posts: 1


My Contributions
Hi All,

I have progarm in VB6 with MS SQL Server 2000 as database.
I connect my database by ODBC.
Now I want to manually set the ODBC setting on each computer to connect my program.
Is there any way to set ODBC settings programitically in VB6

With regards,
Nasreen
User is offlineProfile CardPM
+Quote Post

tody4me
RE: How To Set ODBC Connection Programitically
16 Mar, 2007 - 10:20 AM
Post #2

Only Jenny Craig makes thin clients...
Group Icon

Joined: 12 Apr, 2006
Posts: 1,279



Thanked: 3 times
Dream Kudos: 100
My Contributions
yes, create a UI containing the Database, User ID, and Password fields, then when the connect button is clicked, put in those values into the connection object.
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/4/08 02:53PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month