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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Existing VB 5 Project Can't Open Database in VB 6 2

Status
Not open for further replies.

drosenkranz

Programmer
Sep 13, 2000
360
US
Hello,

We recently upgraded to XP's with Access 2002 in our building. I have a number of large VB5 (SP3) projects running using DAO and Access '97 databases with security.

Since I can't adminstrate an Access '97 table from Access 2002, I converted the database to both Access 2000 and an Access 2002 format - each time with no luck using the OpenDatabase command. This should be simple but I've been at it for a while with no luck.

'Connect string
strConnect = ";DATABASE = " & (mstrAppPath & mstrMDB) & _
" ;UID=" & mLogID & " ;PWD=" & mLogPW
'Create Database Object
Set mdatW2W = OpenDatabase("", True, False, strConnect)

Any suggestions would be greatly appreciated,

Dave



The 2nd mouse gets the cheese.
 
You probably need to upgrafe your MDAC on the client machines. I believe that for DAO/Jet you need MDAC 2.5 from:

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Hello johnmw,

Will installing an older version of mdac interfere with any of the newer software running on the XP's?

Thanks,

Dave



The 2nd mouse gets the cheese.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top