I m trying to run new application in my application like new open
. I use:
Process.Start(@"filelocation");
It is OK but when the user changes the file location, how can I make it found.
I m trying to run new application in my application like new open
. I use:
Process.Start(@"filelocation");
It is OK but when the user changes the file location, how can I make it found.
You have three options:
capture the file location in an xml file, or a config file.
read the location from the file.
when the user changes the location, they need to make sure that the location data is updated in the config file.
Alternatively, the user can enter the complete path as a parameter.