G
Guest
Hello
I have this error message when i try to open a form
My coding falls over on this line....
Me.Button2.Image = CType(resources.GetObject("Button2.Image"), System.Drawing.Bitmap
Infact even when i comment out this line it falls over on the next line that refernences an image
Here is the error i am getting. does anyone know how to fix??....
An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dl
Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "frmRes.resources" was correctly embedded or linked into assembly "MyProj"
baseName: frmRes locationInfo: MyProj.frmRes resource file name: frmRes.resources assembly: MyProj, Version=1.0.1550.16863, Culture=neutral, PublicKeyToken=nul
I got some advise off someone previously but i do not know what they mean. Here is what they advised me to do...
"Make sure that the resource you're referencing (button2.image) is set as an
embedded resource in your solution
Any help is appreciated
I have this error message when i try to open a form
My coding falls over on this line....
Me.Button2.Image = CType(resources.GetObject("Button2.Image"), System.Drawing.Bitmap
Infact even when i comment out this line it falls over on the next line that refernences an image
Here is the error i am getting. does anyone know how to fix??....
An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dl
Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "frmRes.resources" was correctly embedded or linked into assembly "MyProj"
baseName: frmRes locationInfo: MyProj.frmRes resource file name: frmRes.resources assembly: MyProj, Version=1.0.1550.16863, Culture=neutral, PublicKeyToken=nul
I got some advise off someone previously but i do not know what they mean. Here is what they advised me to do...
"Make sure that the resource you're referencing (button2.image) is set as an
embedded resource in your solution
Any help is appreciated