Error With Microsoft/Access Application

D

Dustin Ventin

I'm working with Microsoft Access, creating an application that uses an
Access runtime to work on any computer, no matter if the user has Access on
thier computer or not. The runtime works perfectly, except where the Project
part of the application kicks in.

The trouble is that our application works with Microsoft Project. Project
files are saved into our Access application's MDB file, where the user can
change them or add data to them. This works perfectly when the application
is long as Access is installed. However, once we removed Access I began to
receive the following error whenever I tried to open Project with our
application to make changes:

"Error Number -2147467259: Could not use "; file already in use."

To a certain extent, this error makes sense, as we already have the
application open as a Microsoft Access application, and now we're trying to
open it, programmatically, with Microsoft Project. However, it worked fine
when the full Microsoft Access was installed. Moreover, when my application
is running I can open Project and open any project saved in the application,
no problem. On top of this, I can even use code to create a new Project file
and save it into the application, and it works fine.

It occurs to me that there must be some kinda of Microsoft permissions thing
going on, where my application is 'locked' and my application doesn't know
how to open itself. Obviously it can be done, though, because Project opens
my application up just fine when it's already running.

Please, any help you could provide would be most appreciated!

Dustin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top