G
Guest
Hi All,
I am working on a winforms project. There are couple of .bmp images in the
main form. Previously it was running ok. But today, I changed couple of
controls in the designer and then the following exception started to appear.
Does any one know how to work around this thing and why it is coming. One
thing that may be of interest to know that when I delete these picture
controls it stops. I am using VS.NET 2003 and framework verion 1.1.
Below is the line on which the following exception occurs.
this.MyPic.Image =
((System.Drawing.Image)(resources.GetObject("MyPic.Image")));
The exception that is thrown is:
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
"MyFrm.resources" was correctly embedded or linked into assembly "MyApp".
baseName: MyFrm locationInfo: MyApp.MyFrm resource file name:
MyFrm.resources assembly: MyApp, Version=1.0.2431.33755, Culture=neutral,
PublicKeyToken=null
Your Help will be greatly appriciated.
Thanks,
Nasir
I am working on a winforms project. There are couple of .bmp images in the
main form. Previously it was running ok. But today, I changed couple of
controls in the designer and then the following exception started to appear.
Does any one know how to work around this thing and why it is coming. One
thing that may be of interest to know that when I delete these picture
controls it stops. I am using VS.NET 2003 and framework verion 1.1.
Below is the line on which the following exception occurs.
this.MyPic.Image =
((System.Drawing.Image)(resources.GetObject("MyPic.Image")));
The exception that is thrown is:
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
"MyFrm.resources" was correctly embedded or linked into assembly "MyApp".
baseName: MyFrm locationInfo: MyApp.MyFrm resource file name:
MyFrm.resources assembly: MyApp, Version=1.0.2431.33755, Culture=neutral,
PublicKeyToken=null
Your Help will be greatly appriciated.
Thanks,
Nasir