I am writing a configurable launcher for custom World of warcraft servers. The problem I am having is when I run the app I get an exception. The exception I get is it can't find the program. I am using the app settings object in c# i.e. settings1.settings. The data I put in stays put and is being called to the main form.
When it runs Process.Start it throws the file not found exception.
string InstallPath = Properties.Settings1.Default.path2;
Process.Start(InstallPath + "WoW.exe");
I have tried putting the data in the settings multiple ways i.e. c:\*** c:\\***\\ \\***\\ just not sure what I need to do. Any help would be appreciated.
Here is the code i use to save the data to the settings
private void btnSave_Click(object sender, EventArgs e)
Properties.Settings1.Default.path1 = txtWoW434.ToString();
Properties.Settings1.Default.path2 = txtWoW510.ToString();