I am opening Access 2002 from a VB6 applicaton.
My VB code is:
Dim DBName as string
DBName = "C:\AccessDb.mdb"
Set MSAccess = New New Access.application
MSAccess.OpenCurrentDatabase DBName, True
My application closes without error at the line that
OpenCurrentDatabase. I have OnError error trapping in the code. I am
running VB6 SP6, MDAC 2.6 and Access XP. We just went from Access 97
to Access XP. I changed the VB references to Access 10.0. Any Ideas?