To use Microsoft OLE DB Driver for SQl Server (MSOLEDBSQL) to establish database connection.

Sankaranarayanan M 1 Reputation point
2022-07-26T07:02:02.393+00:00

Currently, We using Visual Basic 6.0

For Database connection, we are using ADODB connectivity through the "SQL Server Native Client 11.0" Driver

We want to replace "SQL Server Native Client 11.0" Driver with "Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL)"

What is format for the connection string and Driver name for ADODB connectivity to be used for the Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL) in Visual Basic 6.0 ?

if possible can give an example for connection string.

Developer technologies | VB
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 90,686 Reputation points
    2022-07-26T07:06:34.547+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.