Stopping or Restarting an Access App From Command Line

M

meangene

I know I can start a .mdb using "Start C:\AppName.mdb" at the command line or
in a .bat.. Once open how would one stop or restart the same app from command
line?
 
J

John W. Vinson

I know I can start a .mdb using "Start C:\AppName.mdb" at the command line or
in a .bat.. Once open how would one stop or restart the same app from command
line?

Access isn't run as a Service (maybe it could be but...) and normally one
would use the user interface (either the red X or a command button on a form)
to exit and close down the program. Having it "stopped" while you're working
on it would be most disruptive and would peeve me mightily if it happened to
me! If you're running some batch program within Access, I'd suggest launching
it from VBA or from a Macro, and putting a line Application.Quit at the end of
the operation.

Why do you want to stop the database externally?
 

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