A
ajaxon98
I have a VB 6 application that uses Access 2000 for data and reports.
Reciently I install this working application on an XP PC that has
Office 2003 installed. When I try to run the report I get the
following message under "Execution Error".
"Error # -2147467259 was generated by [my application name]
Microsoft Office Access can't open the database because it is missing,
or opened exclusively by anlther user."
My connection string is as follows...
* chMast.Open "provider=Microsoft.jet.oledb.4.0;" & _
* "data source=" & App.Path & "\Territories.mdb;"
The sub that calls the report is as follows...
*Private Sub genReport()
* Dim myMDB As Object
*
* Set myMDB = GetObject("c:\territory\territories.mdb",
"Access.Application")
* myMDB.Visible = True
*
* Screen.MousePointer = 11
*
* myMDB.docmd.runmacro "mData"
*
* Set myMDB = Nothing
*
*End Sub
My application has been installed on a number of XP systems and runs
fine. The only difference in this instance is that this PC has Office
2003 installed.
I tried to resume execution after the error thinking that, according to
some posts, there was a time out issue. I also tried convert the MDB
to the 2002-2003 version to address any compatability issues as
suggested to no avail.
Any help would be appreciated.
Thanks.
Anthony Jaxon
Los Angeles, CA USA
Reciently I install this working application on an XP PC that has
Office 2003 installed. When I try to run the report I get the
following message under "Execution Error".
"Error # -2147467259 was generated by [my application name]
Microsoft Office Access can't open the database because it is missing,
or opened exclusively by anlther user."
My connection string is as follows...
* chMast.Open "provider=Microsoft.jet.oledb.4.0;" & _
* "data source=" & App.Path & "\Territories.mdb;"
The sub that calls the report is as follows...
*Private Sub genReport()
* Dim myMDB As Object
*
* Set myMDB = GetObject("c:\territory\territories.mdb",
"Access.Application")
* myMDB.Visible = True
*
* Screen.MousePointer = 11
*
* myMDB.docmd.runmacro "mData"
*
* Set myMDB = Nothing
*
*End Sub
My application has been installed on a number of XP systems and runs
fine. The only difference in this instance is that this PC has Office
2003 installed.
I tried to resume execution after the error thinking that, according to
some posts, there was a time out issue. I also tried convert the MDB
to the 2002-2003 version to address any compatability issues as
suggested to no avail.
Any help would be appreciated.
Thanks.
Anthony Jaxon
Los Angeles, CA USA