Support Forums
Problem witth running another file - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19)
+---- Thread: Problem witth running another file (/showthread.php?tid=4777)



Problem witth running another file - huso69 - 02-12-2010

hi guys i need help with this code
well i want to run a .exe file when i click on the button
i put both of the codes in but it dont work the file is at my desktop

shell ("c:\mineme.exe")

and

process.start("c:\mineme.exe")

oh and please dont say google it
thanks,
huso69


RE: Problem witth running another file - Light Guide - 02-17-2010

I couldn't get shell to work either but I just tried process.start and it worked. Make sure you go to the specific folder it's in.

process.start("c:\program files\mineme\mineme.exe")
------------------------------------------------------------------------------------
Mini Tutorial(Credits to DevX.com) (Click to View)



RE: Problem witth running another file - Eleqtriq - 02-18-2010

You could try adding the exe to your applications resources and running it from there..