HLRosenberger
asked on
Connect to MS SQL Server using VB6
Could anyone provide a snippet of code that shows how to connect to an SQL Server database using VB6? I assume ODBC is the way to go? Or maybe ADO?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
dim gConnectString as string
gConnectString = "Provider=SAOLEDB;DSN=Your
myConn.open gConnectString