Well I have been working on a program for a while now and what i have been trying to do for a while now is open an exe file when you click on a button it worked using the shell command Shell ("Name Of Program.exe") Then i Moved it to a folder for orginization purposes and it wouldnt open because it could not find the file can someone tell me how to make the button open an exe file located somewhere else than the folder that my program itself is located in using visual basic 2008 express edition btw
if you put it in a folder... then don't you need to call the folder name too like H:My Documents\name of program.exe ?? I'm not quite sure, because I'm just trying to relate from when I used Quick Basic
I tried that but when i debug i get at least 5 errors edit: this got rid of the errors but when i run it the program works till i hit the button Shell("C:\", "Program Files" \ "Program Name.exe") that got rid of the erros but when i click the button it says: InvalidVastExpectation was unhandled Conversion from string "Program Files" to type 'Long' is not valid.