Click here to Skip to main content
15,914,317 members
Home / Discussions / C#
   

C#

 
GeneralRe: So the question remains, How do you get an IntPtr to an executable containing a resource? Pin
led mike16-May-07 8:51
led mike16-May-07 8:51 
GeneralRe: So the question remains, How do you get an IntPtr to an executable containing a resource? Pin
mike montagne16-May-07 9:08
mike montagne16-May-07 9:08 
GeneralRe: So the question remains, How do you get an IntPtr to an executable containing a resource? Pin
led mike16-May-07 9:26
led mike16-May-07 9:26 
GeneralRe: So the question remains, How do you get an IntPtr to an executable containing a resource? Pin
mike montagne16-May-07 9:38
mike montagne16-May-07 9:38 
GeneralRe: So the question remains, How do you get an IntPtr to an executable containing a resource? Pin
led mike16-May-07 9:43
led mike16-May-07 9:43 
GeneralRe: So the question remains, How do you get an IntPtr to an executable containing a resource? Pin
mike montagne16-May-07 9:17
mike montagne16-May-07 9:17 
AnswerRe: Getting an IntPtr handle to an instance of the executable file that contains a resource. Pin
Uwe Keim16-May-07 8:22
sitebuilderUwe Keim16-May-07 8:22 
GeneralRe: Getting an IntPtr handle to an instance of the executable file that contains a resource. Pin
mike montagne16-May-07 8:46
mike montagne16-May-07 8:46 
No, my resource is managed. I've added many bitmaps to my class library DLL by the visual process, Project.Add... Existing file...

Determining whether it is a managed resource is not the problem. The DLL is loaded by a test application, using the classes as they would typically be deployed. The problem is for the class, when it is in the test application (exe), to assign the bitmap resources to property, preferably with the Bitmap.FromResource( IntPtr hinstance, String bitmapName ) method.
GeneralRe: Getting an IntPtr handle to an instance of the executable file that contains a resource. Pin
Uwe Keim16-May-07 9:21
sitebuilderUwe Keim16-May-07 9:21 
GeneralRe: Getting an IntPtr handle to an instance of the executable file that contains a resource. Pin
mike montagne16-May-07 9:31
mike montagne16-May-07 9:31 
GeneralRe: Getting an IntPtr handle to an instance of the executable file that contains a resource. Pin
Uwe Keim16-May-07 10:02
sitebuilderUwe Keim16-May-07 10:02 
QuestionUnit testing using VS 2005 Team Testing Pin
jayart16-May-07 6:36
jayart16-May-07 6:36 
AnswerRe: Unit testing using VS 2005 Team Testing Pin
Not Active16-May-07 7:43
mentorNot Active16-May-07 7:43 
QuestionMouse DragBox Pin
Gareth H16-May-07 5:40
Gareth H16-May-07 5:40 
AnswerRe: Mouse DragBox Pin
led mike16-May-07 6:31
led mike16-May-07 6:31 
GeneralRe: Mouse DragBox Pin
Gareth H17-May-07 0:12
Gareth H17-May-07 0:12 
QuestionCan we add a textbox & button to a listview Pin
mosaicit16-May-07 5:40
mosaicit16-May-07 5:40 
AnswerRe: Can we add a textbox & button to a listview Pin
mike montagne16-May-07 5:48
mike montagne16-May-07 5:48 
GeneralRe: Can we add a textbox & button to a listview Pin
mosaicit16-May-07 19:35
mosaicit16-May-07 19:35 
GeneralRe: Can we add a textbox & button to a listview Pin
mike montagne22-May-07 9:50
mike montagne22-May-07 9:50 
AnswerRe: Can we add a textbox & button to a listview Pin
Uwe Keim16-May-07 8:23
sitebuilderUwe Keim16-May-07 8:23 
Questionc# and icons... Pin
losted16-May-07 5:02
losted16-May-07 5:02 
AnswerRe: c# and icons... Pin
mike montagne16-May-07 5:50
mike montagne16-May-07 5:50 
GeneralRe: c# and icons... Pin
losted16-May-07 6:04
losted16-May-07 6:04 
GeneralRe: c# and icons... Pin
mike montagne16-May-07 6:34
mike montagne16-May-07 6:34 

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.