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

DSN creation from VB fails - using odbctool.dll

Status
Not open for further replies.

neil4u

Programmer
Mar 11, 2002
2
SG
Hi
I Tried to create DSN from VB code but fails
Using Odbctool.dll - from
C:\Program Files\Microsoft Visual Studio
Code is as follows,returns true but no DSN created


Dim objOdbc As New ODBCTool.Dsn
Dim retc As Boolean
retc = False
retc = objOdbc.CreateDSN("TEST_DSN", "SQL Server", "LOCAL_SERVER_NAME", "DB_NAME", "sa", "", _
"DSN Desc test", False, "")

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top