Exception
-
Does anybody have any idea what this means?
************** Exception Text **************
System.ArgumentException: Invalid parameter used.
at System.Drawing.Bitmap..ctor(String filename)
at Mule.DataManagementTool.frmMain.populateListView()
at Mule.DataManagementTool.frmMain.TreeView1_AfterSelect(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************
Thanks Brad
-
Does anybody have any idea what this means?
************** Exception Text **************
System.ArgumentException: Invalid parameter used.
at System.Drawing.Bitmap..ctor(String filename)
at Mule.DataManagementTool.frmMain.populateListView()
at Mule.DataManagementTool.frmMain.TreeView1_AfterSelect(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************
Thanks Brad
You clicked on a TreeView node and the code in the AfterSelect event called a populateListView method, which apparent tried to create a Bitmap object, but with the wrong arguments supplied or a bad filename. Without seeing the code in that populateListView method, it's pretty difficult to say exactly why it happened. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
You clicked on a TreeView node and the code in the AfterSelect event called a populateListView method, which apparent tried to create a Bitmap object, but with the wrong arguments supplied or a bad filename. Without seeing the code in that populateListView method, it's pretty difficult to say exactly why it happened. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Okay, Thanks. I see what I did. I hard coded a non-existent path. Brad