|
-
June 3rd, 2002, 07:51 AM
#1
Strange Exception???
Hello all,
Suddenly I got this strange exception running my code:
---Begin Quote---
An unhandled exception of type
'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll
Additional information: Could not find any resources appropriate for the
specified culture (or the neutral culture) in the given assembly. Make sure
"Hoofdmenu.resources" was correctly embedded or linked into assembly
"LogisticRental".
baseName: Hoofdmenu locationInfo: LogisticRental.Hoofdmenu resource file
name: Hoofdmenu.resources assembly: LogisticRental, Version=1.0.884.23456,
Culture=neutral, PublicKeyToken=null
---End Quote---
The error comes from the moment I'm loading an Icon or an Imagelist:
on -> this.imageListButtons.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListButt
ons.ImageStream")));
or on -> this.Icon =
((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
I have already regenerated the resx file but the problem was still there
If I don't use icons there is no problem.
Someone knows what's happening????
Greetings,
Jean Paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|