Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception when editing configuration #2

Open
Seamob opened this issue Apr 3, 2023 · 0 comments
Open

Unhandled exception when editing configuration #2

Seamob opened this issue Apr 3, 2023 · 0 comments

Comments

@Seamob
Copy link

Seamob commented Apr 3, 2023

When editing a configuration and pressing "Save", even without changing anything i get an unhandled exception error:

************** Exception Text **************
System.ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: count
at System.String.Remove(Int32 startIndex, Int32 count)
at epexgui.EditForm.ConfigPathToName(String path) in C:\Users\owner\source\repos\epexgui\epexgui\Forms\EditForm.cs:line 65
at epexgui.EditForm.SaveButton_Click(Object sender, EventArgs e) in C:\Users\owner\source\repos\epexgui\epexgui\Forms\EditForm.cs:line 68
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

image

I really like this project and hope it's being developed further in the future :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant