PDA

View Full Version : Need Help Launching Local App From Menu



mvollmer
10-26-2007, 09:08 AM
Hey All,

I am trying to use an AutoPlay autorun to launch as a menu system on a computer instead of burning it to a CD. I am running into problems when I try to make a button launch a program/exe on the computer. It keeps trying to move the exe into the folder of the project where it isn't meant to be executed from. I found some postings of similar setups, but nothing that really answered my question. So for instance, say I wanted to run FireFox from the location machine, how do I point the button to go to "C:\Program Files\Mozilla FireFox\firefox.exe"? Any help is greatly apprecaited!!


mvollmer

mindstitchdr
10-26-2007, 09:14 AM
Try using:


Shell.Execute("C:\\Program Files\\Mozilla FireFox\\firefox.exe", "open", "", "", SW_SHOWNORMAL);

Loes
12-28-2007, 05:10 AM
moved my question to the version 7 discussion forum.