Discussion Locked

VB60 - ACCESS 2000 - PROVIDER

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to use an Access 2000 database with VB60.
Public TheConnection as ADODB.Connection
Set TheConnection = New ADODB.Connection
TheConnection.CursorLocation = adUseClient
TheConnection.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0; Data Source = ;"

Error 3706
ADO could not find the Specified Provider

7 replies

by whitney597

Try this as your connection string:

DRIVER=Microsoft Access Driver (*.mdb)
UID=admin
UserCommitSync=Yes
Threads=3
SafeTransactions=0
PageTimeout=5
MaxScanRows=8
MaxBufferSize=2048
FIL=MS Access
DriverId=281
DefaultDir=
DBQ=

You will need to insert the semicolons between items.

by ckobman

The solution is kind of simple.
For some reason you have to add another period at the end of the provider string.

correct "PROVIDER=Microsoft.Jet.OLEDB.4.0."

wrong "PROVIDER=Microsoft.Jet.OLEDB.4.0"

Chad Kobman
ckobman@yahoo.com

This discussion is closed to new replies.