Access closes app but process remains open

R

Robert Ross

I have to create a macro/module that can close Access
between uses. I have tried both macro's (RunCommand,
Quit) and Modules (DoCmd.Quit, etc.) and in all
circumstances, Access closes in the Application area, but
remains as an open process (Ctrl+Alt+Del, Processes).
This causes Access to hold the RAM required to store it's
information. Because of this, users begin to get Virtual
Memory errors since the instances of Access still open in
Processes hold that memory.

I have tried the following commands in modules to close
Access:
Unload Me
DoCmd.Quit

Application.Quit acQuitSaveNone

DoCmd.Quit acQuitSaveNone

I've even gone so far as to add a SendKeys statement in a
macro to send Alt+F4. Each time, Access closes the
application but keeps the process open.

Any ideas?
 
M

Marshall Barton

Robert said:
I have to create a macro/module that can close Access
between uses. I have tried both macro's (RunCommand,
Quit) and Modules (DoCmd.Quit, etc.) and in all
circumstances, Access closes in the Application area, but
remains as an open process (Ctrl+Alt+Del, Processes).
This causes Access to hold the RAM required to store it's
information. Because of this, users begin to get Virtual
Memory errors since the instances of Access still open in
Processes hold that memory.

I have tried the following commands in modules to close
Access:
Unload Me
DoCmd.Quit

Application.Quit acQuitSaveNone

DoCmd.Quit acQuitSaveNone

I've even gone so far as to add a SendKeys statement in a
macro to send Alt+F4. Each time, Access closes the
application but keeps the process open.

This the only thing that comes to mind:

http://www.mvps.org/access/bugs/bugs0005.htm
 

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

Similar Threads

Quit Access 2
Access 'Quit' event 7
Access not closing using Switchboard form 3
Application object in class module 2
Is File Open 8
Exiting Access 4
Access 2003 won't close 2
Access Application closes 2

Top