Click here to Skip to main content
15,911,139 members
Home / Discussions / C#
   

C#

 
GeneralRe: calculate grade point average for 2 students Pin
leppie22-Apr-05 20:58
leppie22-Apr-05 20:58 
GeneralRe: calculate grade point average for 2 students Pin
S. Senthil Kumar22-Apr-05 22:31
S. Senthil Kumar22-Apr-05 22:31 
GeneralRe: calculate grade point average for 2 students Pin
Christian in a nice hotel in Singapore24-Apr-05 0:13
sussChristian in a nice hotel in Singapore24-Apr-05 0:13 
Generalbyte[] to string and back again... Pin
Ian Bowler22-Apr-05 10:49
Ian Bowler22-Apr-05 10:49 
GeneralRe: byte[] to string and back again... Pin
CiNN22-Apr-05 20:32
CiNN22-Apr-05 20:32 
GeneralRe: byte[] to string and back again... Pin
leppie22-Apr-05 21:03
leppie22-Apr-05 21:03 
GeneralgetByte Pin
Anonymous22-Apr-05 10:10
Anonymous22-Apr-05 10:10 
GeneralRe: getByte Pin
Le centriste25-Apr-05 4:37
Le centriste25-Apr-05 4:37 
GeneralSaving image Pin
wetdog50022-Apr-05 9:23
wetdog50022-Apr-05 9:23 
GeneralRe: Saving image Pin
Polis Pilavas22-Apr-05 9:46
Polis Pilavas22-Apr-05 9:46 
GeneralRe: Saving image Pin
wetdog50022-Apr-05 9:54
wetdog50022-Apr-05 9:54 
GeneralRe: Saving image Pin
Polis Pilavas22-Apr-05 9:58
Polis Pilavas22-Apr-05 9:58 
GeneralRe: Saving image Pin
wetdog50022-Apr-05 10:09
wetdog50022-Apr-05 10:09 
GeneralRe: Saving image Pin
Polis Pilavas22-Apr-05 10:21
Polis Pilavas22-Apr-05 10:21 
GeneralRe: Saving image Pin
wetdog50022-Apr-05 10:30
wetdog50022-Apr-05 10:30 
GeneralRe: Saving image Pin
Polis Pilavas22-Apr-05 10:40
Polis Pilavas22-Apr-05 10:40 
wetdog500 wrote:
How do I access that resource?

To programmatically access one of your resources you could say something like:
Assembly myAssembly = GetExecutingAssembly();
Stream resourceStream = myAssembly.GetManifestResourceStream("myBitmap.bmp");
Bitmap image = new Bitmap(resourceStream);


wetdog500 wrote:
I want to have the user copy a resource in my program

I am not sure whether you can do that. Resources are part of your assembly and are included in it every time you compile your program


Regards,
Polis

Can you practice what you teach?
GeneralRe: Saving image Pin
wetdog50022-Apr-05 10:51
wetdog50022-Apr-05 10:51 
GeneralRe: Saving image Pin
Polis Pilavas22-Apr-05 10:53
Polis Pilavas22-Apr-05 10:53 
GeneralRe: Saving image Pin
jinzhecheng23-Apr-05 9:00
jinzhecheng23-Apr-05 9:00 
GeneralCool: MessageBox.Show(3.1415927.ToString()); Pin
Member 9622-Apr-05 8:04
Member 9622-Apr-05 8:04 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
turbochimp22-Apr-05 8:28
turbochimp22-Apr-05 8:28 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
DavidNohejl22-Apr-05 9:18
DavidNohejl22-Apr-05 9:18 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
turbochimp22-Apr-05 9:38
turbochimp22-Apr-05 9:38 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
DavidNohejl22-Apr-05 9:44
DavidNohejl22-Apr-05 9:44 
Generalcombox in property grid Pin
jinzhecheng22-Apr-05 7:00
jinzhecheng22-Apr-05 7:00 

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.