Click here to Skip to main content
15,913,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to implement "class factory" in C# Pin
Feng Qin30-Jun-02 18:41
Feng Qin30-Jun-02 18:41 
GeneralRe: How to implement "class factory" in C# Pin
Marc Clifton3-Jul-02 2:09
mvaMarc Clifton3-Jul-02 2:09 
GeneralConfiguration file for application Pin
tomiga26-Jun-02 22:17
tomiga26-Jun-02 22:17 
GeneralRe: Configuration file for application Pin
tomiga26-Jun-02 22:18
tomiga26-Jun-02 22:18 
GeneralRe: Configuration file for application Pin
James T. Johnson27-Jun-02 16:16
James T. Johnson27-Jun-02 16:16 
GeneralRe: Configuration file for application Pin
tomiga27-Jun-02 22:41
tomiga27-Jun-02 22:41 
GeneralResource problems... Pin
Ray Cassick26-Jun-02 18:10
Ray Cassick26-Jun-02 18:10 
GeneralRe: Resource problems... Pin
Ray Cassick26-Jun-02 19:09
Ray Cassick26-Jun-02 19:09 
O,, I have done some more diging. I pulled up my copy of Reflector (Lutz Roeder) and noticed that same resource file in the origonal application that it was used in was listed as:

IconImages.resources

(note that it does not seem to include the root namespace of the application 'Demo' in this case)

I looked at the IL for my app and noticed that the same file was listed as:

csharp_OLApp.IconImages.resources

(note that for some reason this includes the rootnamespace of my application 'csharp_OLApp' in this case)

I changed the line that attemptes to load the images fro the resource manager that I created by including my application root namepsace as so:

Bitmap icons = (Bitmap)rmListImages.GetObject("ListIcons");


and now it seems to work.

My big question is WHY the heck did I have to include the namespace?Eek! | :eek:
QuestionNo .RC File??? Pin
Marc Clifton26-Jun-02 14:37
mvaMarc Clifton26-Jun-02 14:37 
AnswerRe: No .RC File??? Pin
Chris Rickard26-Jun-02 14:51
Chris Rickard26-Jun-02 14:51 
Questionstructs as value and classes as reference??? Pin
Marc Clifton26-Jun-02 14:15
mvaMarc Clifton26-Jun-02 14:15 
AnswerRe: structs as value and classes as reference??? Pin
Chris Rickard26-Jun-02 14:52
Chris Rickard26-Jun-02 14:52 
AnswerRe: structs as value and classes as reference??? Pin
Feng Qin26-Jun-02 16:31
Feng Qin26-Jun-02 16:31 
GeneralRe: structs as value and classes as reference??? Pin
Marc Clifton27-Jun-02 0:36
mvaMarc Clifton27-Jun-02 0:36 
GeneralRe: structs as value and classes as reference??? Pin
SimonS27-Jun-02 2:27
SimonS27-Jun-02 2:27 
GeneralRe: structs as value and classes as reference??? Pin
Andy Smith27-Jun-02 11:17
Andy Smith27-Jun-02 11:17 
GeneralRe: structs as value and classes as reference??? Pin
Feng Qin27-Jun-02 18:38
Feng Qin27-Jun-02 18:38 
QuestionWhat do you think about no global variables? Pin
Marc Clifton26-Jun-02 14:14
mvaMarc Clifton26-Jun-02 14:14 
AnswerRe: What do you think about no global variables? Pin
Chris Rickard26-Jun-02 14:47
Chris Rickard26-Jun-02 14:47 
Generalre: globals, and what about messaging? Pin
Marc Clifton27-Jun-02 0:46
mvaMarc Clifton27-Jun-02 0:46 
GeneralRe: re: globals, and what about messaging? Pin
Chris Rickard27-Jun-02 4:17
Chris Rickard27-Jun-02 4:17 
GeneralInvoke members Pin
Wizard_0126-Jun-02 5:41
Wizard_0126-Jun-02 5:41 
GeneralRe: Invoke members Pin
Chris Rickard26-Jun-02 7:44
Chris Rickard26-Jun-02 7:44 
GeneralRe: Invoke members Pin
Wizard_0126-Jun-02 8:23
Wizard_0126-Jun-02 8:23 
GeneralRe: Invoke members Pin
Chris Rickard26-Jun-02 8:26
Chris Rickard26-Jun-02 8:26 

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.