Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
GeneralRe: text box & GO button Pin
Kola Sokol9-Feb-06 7:36
Kola Sokol9-Feb-06 7:36 
GeneralRe: text box & GO button Pin
Kola Sokol9-Feb-06 8:08
Kola Sokol9-Feb-06 8:08 
QuestionReflection -VectorClass :System.IO.FileNotFoundException Pin
sasire189-Feb-06 1:34
sasire189-Feb-06 1:34 
Question!= Operator Cant be applied Error Pin
emran8349-Feb-06 1:01
emran8349-Feb-06 1:01 
AnswerRe: != Operator Cant be applied Error Pin
Le centriste9-Feb-06 1:38
Le centriste9-Feb-06 1:38 
GeneralRe: != Operator Cant be applied Error Pin
emran8349-Feb-06 2:05
emran8349-Feb-06 2:05 
GeneralRe: != Operator Cant be applied Error Pin
Le centriste9-Feb-06 2:08
Le centriste9-Feb-06 2:08 
QuestionResource files Pin
AB77719-Feb-06 0:55
AB77719-Feb-06 0:55 
Hi all,

I have created a resource file using a Resource Editor
this file consists of images for my fomrs,then
have added this resource file in my project and now i want to
insert the images from this resource file to the picturebox on the main MDI
form. but this gives me problem.

The code that i have written is as follows.
System.Reflection.Assembly assembly;

assembly = this.GetType().Assembly;

System.Resources.ResourceManager rm = new System.Resources.ResourceManager
("WebBlogGenerator.manage", assembly);
here WebBlogGenerator is the name of my project and manage is the resource file name.
now i get the image from the resource file

Image managedomainmouseover = (System.Drawing.Image)rm.GetObject
("managedomain");

and i get the error on this line saying that
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 "WebBlogGenerator.manage.resources" was correctly embedded or linked into assembly "Web Blog Generator".
baseName: WebBlogGenerator.manage locationInfo: <null> resource file name: WebBlogGenerator.manage.resources assembly: Web Blog Generator, Version=1.0.2231.31335, Culture=neutral, PublicKeyToken=null


i had used the same code for a project earlier
but this is giving me an error

Can anyone help me out
or suggest me another way to create a resource file of the images that
i am using in my project.

Thanks and Regards,

Pramod
AnswerRe: Resource files Pin
emran8349-Feb-06 1:10
emran8349-Feb-06 1:10 
GeneralRe: Resource files Pin
AB77719-Feb-06 1:25
AB77719-Feb-06 1:25 
GeneralRe: Resource files Pin
emran8349-Feb-06 2:00
emran8349-Feb-06 2:00 
GeneralRe: Resource files Pin
AB77719-Feb-06 2:12
AB77719-Feb-06 2:12 
GeneralRe: Resource files Pin
emran8349-Feb-06 3:32
emran8349-Feb-06 3:32 
GeneralRe: Resource files Pin
AB77719-Feb-06 3:37
AB77719-Feb-06 3:37 
GeneralRe: Resource files Pin
emran8349-Feb-06 3:53
emran8349-Feb-06 3:53 
GeneralRe: Resource files Pin
emran8349-Feb-06 3:59
emran8349-Feb-06 3:59 
QuestionIE Toolbar HELP !!!!! Pin
liquidthoughts9-Feb-06 0:36
liquidthoughts9-Feb-06 0:36 
Questioncommand line arguments Pin
Mridang Agarwalla9-Feb-06 0:02
Mridang Agarwalla9-Feb-06 0:02 
AnswerRe: command line arguments Pin
Ravi Bhavnani9-Feb-06 0:41
professionalRavi Bhavnani9-Feb-06 0:41 
GeneralRe: command line arguments Pin
Mridang Agarwalla9-Feb-06 1:01
Mridang Agarwalla9-Feb-06 1:01 
AnswerRe: command line arguments Pin
mav.northwind9-Feb-06 2:21
mav.northwind9-Feb-06 2:21 
GeneralRe: command line arguments Pin
Mridang Agarwalla9-Feb-06 7:16
Mridang Agarwalla9-Feb-06 7:16 
GeneralRe: command line arguments Pin
mav.northwind9-Feb-06 9:19
mav.northwind9-Feb-06 9:19 
Question"Safely Remove Hardware" USB Key? Pin
LiamD8-Feb-06 23:31
LiamD8-Feb-06 23:31 
AnswerRe: &quot;Safely Remove Hardware&quot; USB Key? Pin
Dave Kreskowiak9-Feb-06 7:31
mveDave Kreskowiak9-Feb-06 7:31 

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.