By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,171 Members | 1,163 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,171 IT Pros & Developers. It's quick & easy.

quick question...

P: n/a
Quick question for the experts...

Whenever I set the Image property of a PictureBox on one of my forms to a
PNG graphic file on my hard drive, I get the following runtime error when I
try to run the app:

Exception Type: System.Resources.MissingManifestResourceException
Message: Could not find any resources appropriate for the specified culture
(or the neutral culture) in the given assembly.

Does anyone have any idea what this error message means?
Nov 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Have you set this through the IDE or by hand?

--
Bob Powell [MVP]
Visual C#, System.Drawing

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml


"craig" <e@mail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Quick question for the experts...

Whenever I set the Image property of a PictureBox on one of my forms to a
PNG graphic file on my hard drive, I get the following runtime error when I try to run the app:

Exception Type: System.Resources.MissingManifestResourceException
Message: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly.

Does anyone have any idea what this error message means?

Nov 16 '05 #2

P: n/a
Hi Bob,

I set it through the IDE using the properties window.

"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:eq**************@TK2MSFTNGP15.phx.gbl...
Have you set this through the IDE or by hand?

--
Bob Powell [MVP]
Visual C#, System.Drawing

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml


"craig" <e@mail.com> wrote in message
news:uC**************@tk2msftngp13.phx.gbl...
Quick question for the experts...

Whenever I set the Image property of a PictureBox on one of my forms to a
PNG graphic file on my hard drive, I get the following runtime error when

I
try to run the app:

Exception Type: System.Resources.MissingManifestResourceException
Message: Could not find any resources appropriate for the specified

culture
(or the neutral culture) in the given assembly.

Does anyone have any idea what this error message means?


Nov 16 '05 #3

P: n/a
this error is normaly generated if your resource manager is trying to
find some resources for
a not specified culture.
in your case i cant imagine where and why this error is generated.
watch out your exe file with ILDSAM and look how your resources are binded.

perhaps there is something wrong.
otherwise post code to see whats going on, or try another picture format.
e.g. *.bmp oder *.jpg

greetz
craig schrieb:
Quick question for the experts...

Whenever I set the Image property of a PictureBox on one of my forms to a
PNG graphic file on my hard drive, I get the following runtime error when I
try to run the app:

Exception Type: System.Resources.MissingManifestResourceException
Message: Could not find any resources appropriate for the specified culture
(or the neutral culture) in the given assembly.

Does anyone have any idea what this error message means?

Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.