I have a program with a simple text box and button (at the moment).
The user will either enter/select the file from a dialog.
The user will enter a given file path, and when you press the 'EXECUTE' button, the program will attempt to open/run this file/executable?
what is the best way about achieving this? I'm fairly novice and so am not entirely sure what all the 'lingo' is?
PS. I have looked at google for examples, but the code never seemed to actually 'DO' anything?
Any help much appreciated.
btnExecute
string myFile = MyfilePath.Text
Also, is there anyway of checking if the file exists/lets them select it instead of typing it into the textbox?
Is there anyway of ensuring the file is 'openable'?