Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Aplication Working on WinXP but not Win2000

Status
Not open for further replies.

ptiernan

IS-IT--Management
Apr 29, 2003
55
GB
Hi

Please help I have developed an small application in VB6 that connects to an Access 97 DB using

cn = "Provider=Microsoft.Jet.OLEDB.3.51;Data Source=post_code.mdb"
strSQL = ("SELECT * FROM T_Post_Code WHERE POSTCODE='" & str4 & "'")
rs.Open strSQL, cn

In VB6 I package my application and have tested it on Win XP and it works fine but when I install the application on a Win 2000 PC I get the error.

Run-time Error '3706' Provider cannot be found. It may not be properly installed.

I am new to VB and don’t know how to install the provider on the Win 2000 machine.

Any help would be greatly appreciated.

Much Thanks
Paul Tiernan
 
Have you installed W2000 sp4, if not I would try this as the first step. You could also try installing the latest MDAC version 2.8
 
I have installed Win 2000 sp4 and MDAC v 2.8 and this did not work.

I got it fixed my changing
Provider=Microsoft.Jet.OLEDB.3.51
to
Provider=Microsoft.Jet.OLEDB.4.0

and also Installed MDAC v 2.5 (with Jet drivers) and this worked.

Much Thanks
Paul Tiernan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top