OutOfMemoryException
-
Just curious... has anyone ever bothered catching it?
-
Just curious... has anyone ever bothered catching it?
-
Just curious... has anyone ever bothered catching it?
Yes, it does not always signify what the name implies. Have a look at Image.FromFile() :)
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.
-
Yes, it does not always signify what the name implies. Have a look at Image.FromFile() :)
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.
If the file does not have a valid image format or if GDI+ does not support the pixel format of the file, this method throws an OutOfMemoryException exception. Uhh.... wow. Gotta love the WinForms team, total hack as always X|
-
If the file does not have a valid image format or if GDI+ does not support the pixel format of the file, this method throws an OutOfMemoryException exception. Uhh.... wow. Gotta love the WinForms team, total hack as always X|
-
reinux wrote:
Gotta love the WinForms team, total hack as always
Then publish your own own base class library that would be so much better than theirs, or shut the fuck up.
led mike
Wtf is your problem? There's a reason I don't use WinForms anymore, and it's because someone already did publish their own UI toolkit for .NET that's so much better, and it's called WPF.
-
Wtf is your problem? There's a reason I don't use WinForms anymore, and it's because someone already did publish their own UI toolkit for .NET that's so much better, and it's called WPF.
-
Wtf is your problem? There's a reason I don't use WinForms anymore, and it's because someone already did publish their own UI toolkit for .NET that's so much better, and it's called WPF.
reinux wrote:
someone already did publish their own UI toolkit for .NET that's so much better, and it's called WPF
That's debatable. There's so much functionality missing and it's buggy.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007