Run an exe file from command button

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.
 
D

Douglas J Steele

Use the Shell function.

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

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