- changed status to resolved
Illegal characters in path crash when entering in quotes in emulator path
LaunchBox Version
Operating System Windows 7
Operating System Architecture 64-bit
Times Occurred Many Times
Issue/Error:
System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.GetFileName(String path)
at LaunchBox.Forms.EmulatorForm.field_Changed(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
What were you trying to do at the time of the error? I copied the path of the emulator into the new emulator dialog. The path was wrapped in quotes ("). This threw an exception.
Are you able to reproduce this issue? In windows 7, shift + right-click the emulator path and choose Copy As Path In LaunchBox, paste the path into the emulator path field.
LaunchBox Error: System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.IO.Path.GetFileName(String path) at LaunchBox.Forms.EmulatorForm.field_Changed(Object sender, EventArgs e) at System.Windows.Forms.Control.OnTextChanged(EventArgs e) at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m) at System.Windows.Forms.TextBox.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Comments (1)
-
reporter - Log in to comment
This was fixed a long time ago.