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.
 
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?
 
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?
 
Back
Top