Hey,
I'm having an emergency problem with my software and am under a very very tight deadline, so I thought I could post here as a last resort...
I randomly get an exception pop up that gives me the following approximate stack trace:
"Argument Exception: Invalid parameter used.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
...
at System.Drawing.Icon..ctor(Int32 width, Int32 height).
...
"
i DO have some bitmaps that i created in mspaint that are put into picture boxes on the window designer, but my GUI uses the .net default icon. this exception occurs at random times (sometimes when scrolling horizontally thru a listview, sometimes when flipping tabpages... there really is no set time that it ever happens. To make matters worse, it NEVER gives a line number at which the error occurred. the GUI loads up fine, and i can be running for days without seeing this error, but it will occasionally rear it's ugly head.
none of my code tries to act on any of the bmp files. once i put the files into the GUI designer, i never touch them again. i don't try to do any converting from one type of pic to another or anything of the sort. These bmp files have been used on past GUIs without creating a problem.
this GUI does deal with high data throughput, so maybe i am overtasking the computer, which causes this error? I dont know..... at this point, i have no clue what is wrong.
if anyone knows anything about this, please help... i'm in a world of hurt =(
thanks in advance.