msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error # -2147467259 Access 2000 mdb VS 2003 mdb

 
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE Automation
Author Message
ajaxon98



Joined: 04 Oct 2007
Posts: 2

PostPosted: Tue Oct 03, 2006 3:23 pm    Post subject: Error # -2147467259 Access 2000 mdb VS 2003 mdb Reply with quote

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

Archived from group: microsoft>public>vb>ole>automation
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
powerpoint 2003 automation error -2147467259 When I try to open a powerpoint file using office 2003, I receive the following error -2147467259 Description = Automation error Unspecified error It works fine with previous versions of powerpoint. Here is the code: Public objApp As Object Global objDoc

Contacts, Outlook 2000 and Exchange 2003 Hi, don't know if this is the right place for this question, but hope someone can help me. Some years ago I've written a VB6 program that synchronizes calendar and contacts data between our proprietary database and Outlook 2000 with EXS 5.5 behind. That w

embedding a BMP file in access 2003 OleObject field I am trying to run the following bit of code. it did work perfectly, but suddenly started to throw the error: "run-time error '2699' - The connection to the OLE server was lost, or the OLE server encounter an error while you were using it." I am running A

Problem With Access-Word Automation under Office 2003 Hi all, I have an Access application that drives data into FormFields in Word docs. The word docs are protected Document). The basic code is below: Dim wordApp As Dim worddoc As Word.Document Set wordApp =

Automation Error with Excel 97 in Windows 2000 with patch bl Hi: I'd developed a solution that query a database and export the results to an Excel file. I'm using excel 97 and windows 2000. All work ok, until I've installed the patch for blaster worm (KB824146), when it stop to work and give the message "Automation
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group