avoid open an opend application

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

how can i avoid user to open an application that is
already opend?

thanks
 
Not sure what you are asking. Are you building a button on a form to open
an application and you want to jump to the active one if there is already an
instance of the application? You are using MS Access, right?
 
is their is a way to do the job when user clik's the shortcut on desktop?
 
You would have to use that api code, and in your startup, check if the
appcation is running, and then quit.....

So, in effect, a 2nd copy would try and run...but you would not let it get
very far.....
 

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

Back
Top