MissingManifestResourceException problem 
Author Message
 MissingManifestResourceException problem

When i run the code as mentioned at the bottom of this mail i get the
message:

A first chance exception of type
'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll

On line (form.initializecomponent):

Me.PictureBox.Image = CType(resources.GetObject("PictureBox.Image"),
System.Drawing.Image)

Additional information: Could not find any resources appropriate for the
specified culture (or the neutral culture) in the given assembly.  Make sure
"PlugInCrl.resources" was correctly embedded or linked into assembly
"PlugInCtrl".
baseName: PlugInCtrl  locationInfo: MainGroup.Graphical.Controls.PlugInCtrl
resource file name: PlugInCtrl.resources  assembly: PlugInCtrl,
Version=1.0.1251.13952, Culture=neutral, PublicKeyToken=null

Do i have to do something extra with the culture? I try to load a
usercontrol where an image object is positioned onto with some icon. I use
framework  1.1, v studio 2003.

thanks.

Code:
=====

Dim Assem As System.Reflection.Assembly =
System.Reflection.Assembly.LoadFrom("c:\plugin\pluginctrl.dll")

Dim ctrl As System.Windows.Forms.Control =
Activator.CreateInstance(Assem.GetType("MainGroup.Graphical.Controls.PlugInC
trl"))



Mon, 21 Nov 2005 20:00:35 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. MissingManifestResourceException

2. MissingManifestResourceException ?!

3. DIRE NEED OF HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

4. HIDDEN FILE....PS..................................................................................................

5. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!ATTENTION!!!!!!!!!!!!!!!!!!!!!!!!!!!

6. Closing down .............................................................................................................

7. bipin,bipinsavaliya,immigration,newzeland,canada,australiya immigration,bipinpatel,bipinpatel,rajkot,gujarat,india,mcse,ccna,window2000,sqlserver,sql,hitesh,hansalia

8. comp.infosystems.www.authoring.misc, comp.infosystems.www.authoring.html, comp.infosystems.www.authoring.cgi, comp.infosystems.www.browsers.ms-windows

 

 
Powered by phpBB® Forum Software