Click here to Skip to main content
15,920,513 members
Home / Discussions / C#
   

C#

 
QuestionSystem.Appdomain.CreateDomain(...) returns __TransparentProxy Pin
Rein_Petersen12-Oct-05 9:28
Rein_Petersen12-Oct-05 9:28 
AnswerRe: System.Appdomain.CreateDomain(...) returns __TransparentProxy Pin
leppie12-Oct-05 11:19
leppie12-Oct-05 11:19 
GeneralRe: System.Appdomain.CreateDomain(...) returns __TransparentProxy Pin
Rein_Petersen13-Oct-05 2:56
Rein_Petersen13-Oct-05 2:56 
QuestionRead only strings Pin
TheMajorRager12-Oct-05 7:52
TheMajorRager12-Oct-05 7:52 
AnswerRe: Read only strings Pin
Dave Kreskowiak12-Oct-05 8:05
mveDave Kreskowiak12-Oct-05 8:05 
AnswerRe: Read only strings Pin
Robert Rohde12-Oct-05 8:50
Robert Rohde12-Oct-05 8:50 
GeneralRe: Read only strings Pin
Dave Kreskowiak12-Oct-05 11:38
mveDave Kreskowiak12-Oct-05 11:38 
QuestionPlease could someone help me with the code required to access resources in a res file Pin
Rendili12-Oct-05 7:49
Rendili12-Oct-05 7:49 
Hi,

Iam just starting to try and use resource files to embed images and icons rather than have them as files that need to be available when running the application.

I have tried many different examples of code in my application but can not get any of them to work. The best I have managed is to create the resource file, add some code to the application and compile it without error, when I try to run it I get a :

Application has generated an exception that could not be handled

error every time.

Please could someone point me in the right direction.

I have created a 'MyRes.rs' file with the following text :

MyResImage1 IMAGE Image1.jpg
MyResIcon ICON MyIcon.ICO

used rc.exe to build the res file and that created a 'MyRes.RES' file

The trouble now is that I do not know how to access the resourse in my application to, for example:
use the Image1.jpg in an image list
use the MyIcon.ICO as an icon for the application in the status bar

Please could someone help (example code, or pointers to example code, would be very helpfull as I am fairly new to C# programming)

Thank you

Paul

-- modified at 15:25 Wednesday 12th October, 2005
QuestionAssign null value to a Decimal Pin
zaboboa12-Oct-05 7:41
zaboboa12-Oct-05 7:41 
AnswerRe: Assign null value to a Decimal Pin
Dan Neely12-Oct-05 7:49
Dan Neely12-Oct-05 7:49 
GeneralRe: Assign null value to a Decimal Pin
zaboboa12-Oct-05 7:50
zaboboa12-Oct-05 7:50 
AnswerRe: Assign null value to a Decimal Pin
David Stone12-Oct-05 7:50
sitebuilderDavid Stone12-Oct-05 7:50 
AnswerRe: Assign null value to a Decimal Pin
Dave Kreskowiak12-Oct-05 8:02
mveDave Kreskowiak12-Oct-05 8:02 
QuestionURGENT please - play a .avi file by a file stream Pin
Sasuko12-Oct-05 6:37
Sasuko12-Oct-05 6:37 
AnswerRe: URGENT please - play a .avi file by a file stream Pin
David Stone12-Oct-05 6:44
sitebuilderDavid Stone12-Oct-05 6:44 
GeneralRe: URGENT please - play a .avi file by a file stream Pin
Sasuko12-Oct-05 7:10
Sasuko12-Oct-05 7:10 
GeneralRe: URGENT please - play a .avi file by a file stream Pin
David Stone12-Oct-05 7:20
sitebuilderDavid Stone12-Oct-05 7:20 
GeneralRe: URGENT please - play a .avi file by a file stream Pin
Sasuko12-Oct-05 7:31
Sasuko12-Oct-05 7:31 
GeneralRe: URGENT please - play a .avi file by a file stream Pin
David Stone12-Oct-05 7:48
sitebuilderDavid Stone12-Oct-05 7:48 
GeneralRe: URGENT please - play a .avi file by a file stream Pin
Dave Kreskowiak12-Oct-05 7:59
mveDave Kreskowiak12-Oct-05 7:59 
GeneralRe: URGENT please - play a .avi file by a file stream Pin
Sasuko12-Oct-05 8:19
Sasuko12-Oct-05 8:19 
GeneralRe: URGENT please - play a .avi file by a file stream Pin
Dave Kreskowiak12-Oct-05 11:55
mveDave Kreskowiak12-Oct-05 11:55 
GeneralRe: URGENT please - play a .avi file by a file stream Pin
Sasuko12-Oct-05 11:59
Sasuko12-Oct-05 11:59 
QuestionTCP Synchronous Encryption in C# .NET Pin
IHSSITEMAN12-Oct-05 6:04
IHSSITEMAN12-Oct-05 6:04 
AnswerRe: TCP Synchronous Encryption in C# .NET Pin
David Stone12-Oct-05 6:49
sitebuilderDavid Stone12-Oct-05 6:49 

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.