A
Alain R.
Hi,
I have some problem to retrieve an image from my application.
Here is my code :
Stream imgStream = null;
Assembly a = Assembly.GetExecutingAssembly();
imgStream = a.GetManifestResourceStream("SW_Audit.img_ok.gif");
PBStep1.Image = new Bitmap(imgStream);
before i embedded this image by doing :
Project-> property-> resources -> add resource-> add existing resource
-> "img_ok.gif"
My application namespace is "SW_Audit".
so what have i done wrong ?
thanks a lot,
Al.
I have some problem to retrieve an image from my application.
Here is my code :
Stream imgStream = null;
Assembly a = Assembly.GetExecutingAssembly();
imgStream = a.GetManifestResourceStream("SW_Audit.img_ok.gif");
PBStep1.Image = new Bitmap(imgStream);
before i embedded this image by doing :
Project-> property-> resources -> add resource-> add existing resource
-> "img_ok.gif"
My application namespace is "SW_Audit".
so what have i done wrong ?
thanks a lot,
Al.