Opening application

Joined
Apr 15, 2008
Messages
5
Reaction score
0
Hi,

I am opening a program by using a command button in a form, but I want to findout what command that will first check if the application is already open or not. If the program is already opened, the command will not execute the application, if it is not, it will execute the application.
Thank you, for someone who could help me regarding about this matter, because I was still an amateur programmer.

Regards,
Santimauri.
 
Joined
Apr 15, 2008
Messages
5
Reaction score
0
By the way, I also Want to know what commands can close the application. The only command that I know for this is docmd.close, but it is not applicable/I dont know how to use it on external program. Any Idea?
 
Joined
Apr 15, 2008
Messages
5
Reaction score
0
I found a command AppIs Running. But when I tried it on the program, the function is not defined. I also include the VB6.OLB in the reference which contains the function but it was still not recognized. Any Ideas?
 

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