PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework System.NotSupportedException was unhandled

Reply

System.NotSupportedException was unhandled

 
Thread Tools Rate Thread
Old 02-11-2007, 05:03 PM   #1
=?Utf-8?B?QWJoaWxhc2g=?=
Guest
 
Posts: n/a
Default System.NotSupportedException was unhandled


Hi

My application was running till last monday...

Now suddenly i am getting the following exception...
System.NotSupportedException was unhandled
Message="System.Drawing.Bitmap"
StackTrace:
at System.Resources.ResourceReader.LoadObjectV2()
at System.Resources.ResourceReader.LoadObject()
at System.Resources.RuntimeResourceSet.GetObject()

I debugged the appicaion and found when it tries to execute
this.btnNext.Image =
((System.Drawing.Image)(resources.GetObject("btnNext.Image")));
I am getting the error...

resources.GetObject("btnNext.Image") is giveing me an exeception
"resources.GetObject("btnNext.Image")' threw an exception of type
'System.NotSupportedException"

I am not able to understand why this is happening suddenly...

Please help me. its a show stopper for me..

Thanks in advance...

  Reply With Quote
Old 02-11-2007, 08:34 PM   #2
Diego Guidi
Guest
 
Posts: n/a
Default Re: System.NotSupportedException was unhandled

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off