Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Start .exe file from textbox text

$
0
0
(ANSWERED)             Hi i was wondering if anyone could help me out im looking for a way to be able to start an .exe file from where the user states in the textbox.text im having no such look by myself and yes i have read books but none of them said anything about it. the way it used to be done was like this   

Shell(

"C:\Program Files\Bohemia Interactive\ArmA 2 Operation Arrowhead\arma2oa.exe -mod=Expansion;expansion\beta\expansion;@mod;expansion -nosplash -noPause -connect=blah -port=blah -password=blah", vbNormalFocus)which is fine if they have the set exe file in that place but most people now have them set to there own place and drive letter. i have it all set out so that they can save to there own destination using savefiledialog but i need it so they have to select there file from an folderbrowserdialog or openfiledialog and that get used to launch the .exe with the required mod parameters with it. everything does not have to be on the same button but the starting and adding of the mod parameters does as its needed to start up. Thanks for any and all advise that can be given.



Viewing all articles
Browse latest Browse all 12583

Trending Articles