Click here to Skip to main content
15,867,453 members
Home / Discussions / C#
   

C#

 
GeneralRe: Building a .NET User Control base Class Pin
FruitBatInShades5-Feb-03 10:43
FruitBatInShades5-Feb-03 10:43 
GeneralDeserialization problem Pin
Roman Shchugarev5-Feb-03 1:43
Roman Shchugarev5-Feb-03 1:43 
GeneralRe: Deserialization problem Pin
marcossl5-Feb-03 7:02
marcossl5-Feb-03 7:02 
GeneralRe: Deserialization problem Pin
Roman Shchugarev5-Feb-03 19:41
Roman Shchugarev5-Feb-03 19:41 
GeneralSplitters and WinForms Pin
Braulio Dez4-Feb-03 21:08
Braulio Dez4-Feb-03 21:08 
GeneralRe: Splitters and WinForms Pin
Furty4-Feb-03 23:04
Furty4-Feb-03 23:04 
GeneralRe: Splitters and WinForms Pin
Braulio Dez4-Feb-03 23:26
Braulio Dez4-Feb-03 23:26 
QuestionHow to load .resx file Pin
chito4-Feb-03 20:54
chito4-Feb-03 20:54 
Hai

I have One .resx file. I have embedded this file into my project.

Assembly thisAssembly = Assembly.GetAssembly(Type.GetType("samp.Form1"));
ResourceManager rmListImages = new ResourceManager("Images1", thisAssembly);
imageList = new ImageList();
imageList.ImageSize = new Size(16, 16);
Bitmap icons = (Bitmap)rmListImages.GetObject("Image");

When I am running the above code it is showing the following error.

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 "Images.resources" was correctly embedded or linked into assembly "samp".
baseName: Images locationInfo: <null> resource file name: Images.resources assembly: samp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

Can any body suggest how to solve this.
Chito.
GeneralWeb Browser Pin
chrisrowe4-Feb-03 18:44
chrisrowe4-Feb-03 18:44 
GeneralDynamic calls to Dll Pin
Ranjani Rajanikanth4-Feb-03 17:58
Ranjani Rajanikanth4-Feb-03 17:58 
GeneralAutogenerating collections Pin
Domenic Denicola4-Feb-03 16:36
Domenic Denicola4-Feb-03 16:36 
GeneralRe: Autogenerating collections Pin
Chris Austin4-Feb-03 17:04
Chris Austin4-Feb-03 17:04 
QuestionHow to convert a graphics object into Image object Pin
clarkwuzhe4-Feb-03 11:08
clarkwuzhe4-Feb-03 11:08 
AnswerRe: How to convert a graphics object into Image object Pin
Tomas Petricek4-Feb-03 12:05
Tomas Petricek4-Feb-03 12:05 
Generalopening a .msg file in c# Pin
ajma4-Feb-03 8:31
ajma4-Feb-03 8:31 
GeneralRe: opening a .msg file in c# Pin
shakilmailbox27-Feb-09 22:39
shakilmailbox27-Feb-09 22:39 
GeneralConnecting To Network Share Pin
Aisha4-Feb-03 7:13
Aisha4-Feb-03 7:13 
GeneralDelayed QueryInterface error Exception!!! Pin
EdgarBM4-Feb-03 1:42
EdgarBM4-Feb-03 1:42 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
John Fisher4-Feb-03 8:08
John Fisher4-Feb-03 8:08 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
EdgarBM9-Feb-03 21:47
EdgarBM9-Feb-03 21:47 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
leppie10-Feb-03 7:23
leppie10-Feb-03 7:23 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
leppie4-Feb-03 8:33
leppie4-Feb-03 8:33 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
EdgarBM9-Feb-03 21:49
EdgarBM9-Feb-03 21:49 
GeneralNullObjectRef in DataRow Pin
A.Wegierski3-Feb-03 23:07
A.Wegierski3-Feb-03 23:07 
GeneralRe: NullObjectRef in DataRow Pin
andyharman4-Feb-03 3:21
professionalandyharman4-Feb-03 3:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.