Re: Connection String to Connect a VB 6 Application to SQL Server 2005



Hi Bob,

thank you for answering me.

I checked the Protocols for MSSQLSERVER using the SQL server
configuration manager
and enabled the pipe names and tcp/ip option.

I did also enabled the IP1 option for the TCP/IP properties and I was
able to connect
using the following connection string

cs =
"Provider=SQLNCLI.1;Server=192.168.1.1;Database=MyDB;UID=sa;PWD=sapwd;"

Thank you for pointing me to the rigth way.

Behring

.