Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 22067

moving vb6 application to windows 7 machine

$
0
0
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.

Viewing all articles
Browse latest Browse all 22067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>