I have an old vb6 application (windows XP) that I am moving to a windows 7 machine. In the frontend I have a connection to an old SQL Server 2000 database. I need to recreate the connection from the vb6 application to the SQL 2000 server. I can not get the connection to work. We did a trace and it didn't even show an attempt to connect. Our DBA suggested that it is the connection string. I have tried everything that I can find on the internet.
Here is my connection string:
OpenConnection("Export", dbDriverNoPrompt, True,
ODBC;provider=SQLOLEDB;SERVER=<servername>;DATABAS E=<databasename>;UID=<userID>;PWD=<password>;DSN=' '")
Any help that you can provide would be greatly appreciated.
Thanks.
Here is my connection string:
OpenConnection("Export", dbDriverNoPrompt, True,
ODBC;provider=SQLOLEDB;SERVER=<servername>;DATABAS E=<databasename>;UID=<userID>;PWD=<password>;DSN=' '")
Any help that you can provide would be greatly appreciated.
Thanks.