Run an exe file from command button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a "CoDemo.Exe" file, which I made with help of flash 5, Its just an
animated presentation, it is about 5 to 6 second animations. Now I want to
put some code behind a command button, that onClick event it should run the
above mentioned exe, the full path is :
C:\CoDate\CoDemo.exe

Also, One additional thing to be done is that after the exe runs/completes,
it should close the Exe window as well.

Please advise.

Regards.

Irshad.
 
Use the Shell function.

Check the Help file for options you can use with it regarding whether the
window is maximized and has focus.
 
Back
Top