| Subject: PocketPC emulator suddenly failing on me |
| Group: microsoft.public.vstudio.general |
| Date: 5/25/2008 8:38:44 PM |
| From: silverfox [Email Address Protection] |
I added two new picture boxes containing JPG images to my project and now the PocketPC 2003 emulator fails with a NotSupportedException on System.Drawing.Bitmap. I think that these were the first picture boxes that I added after converting from VS2005, if that is relevant. I do have other picture boxes and the emulator worked fine with them. I tried changing the JPEGs to BMPs and that did not help. I can deploy the app to the device without problem. Any idea what might be going on and how I might be able to use the emulator again? This came at a most inopportune time, as I am now ready to write the user manual and need the screen grabs. Sigh! More information on the exception: at System.Resources.ResourceReader.LoadObjectV2() at System.Resources.ResourceReader.LoadObject() at System.Resources.RuntimeResourceSet.GetObject() at System.Resources.ResourceManager.GetObject() at System.Resources.ResourceManager.GetObject() at MainForm.InitializeComponent() etc. |
| Back |
| Subject: Re: PocketPC emulator suddenly failing on me |
| Group: microsoft.public.vstudio.general |
| Date: 5/26/2008 6:53:13 PM |
| From: silverfox [Email Address Protection] |
On May 25, 8:38 pm, silverfox <dcfre...@gmail.com> wrote: > I added two new picture boxes containing JPG images to my project and > now the PocketPC 2003 emulator fails with a NotSupportedException on > System.Drawing.Bitmap. I think that these were the first picture boxes > that I added after converting from VS2005, if that is relevant. I do > have other picture boxes and the emulator worked fine with them. I > tried changing the JPEGs to BMPs and that did not help. I can deploy > the app to the device without problem. > > Any idea what might be going on and how I might be able to use the > emulator again? This came at a most inopportune time, as I am now > ready to write the user manual and need the screen grabs. Sigh! > > More information on the exception: > > at System.Resources.ResourceReader.LoadObjectV2() > at System.Resources.ResourceReader.LoadObject() > at System.Resources.RuntimeResourceSet.GetObject() > at System.Resources.ResourceManager.GetObject() > at System.Resources.ResourceManager.GetObject() > at MainForm.InitializeComponent() > etc. Well, I can't say what caused the problem, but I can tell you how I solved it. I did a hard reset on the emulator. I had forgotten that there even was a reset feature, but of course it makes sense. I should have tried a soft reset first but I didn't so I don't know if that would have solved the problem or not. |
| Back |