Close Unwanted Access Application Acc2003

jaydwest

JayW
Local time
Today, 15:56
Joined
Apr 22, 2003
Messages
340
I use the following code in a function to test if a database is open

AppActivate pasDBName, True

In ACC2003 and WindowsXP ths worked great, but alas in ACC2003 amd Vista it opens a new Acccess Application that is not shut down when the function is closed. This creates all kinds of issues as it creates an Access window that cannot be closed except by usng the Task Manager.

The application opened is not the current applicatiion, that is the database that runs the code. So I'm lost (as usual). Is there anyway to shut this new Acccess application in code?

Thanks for your help.
 

Users who are viewing this thread

Back
Top Bottom