Michael Kizer
Aug 15th, 2000, 03:41 PM
I have created a new DSN for a SQL Server db via VB and an API call to ODBCCP32.DLL, which all seems to work fine (thanks to members of this forum).
The only problem I have is when the application runs for the first time on a new machine (configured with ODBC, but with no DSNs), the setting for "Network Library" under "Client Configuration" defaults to "Named Pipes". My application requires a TCP/IP connection to the db.
Is there any way to programatically set this value?
The only problem I have is when the application runs for the first time on a new machine (configured with ODBC, but with no DSNs), the setting for "Network Library" under "Client Configuration" defaults to "Named Pipes". My application requires a TCP/IP connection to the db.
Is there any way to programatically set this value?