G
Giuseppe
Hi all,
I have a bitmap "myImage.bmp" embedded in my project and Build Action
property is set to "Embedded Resource".
I'd like to load this image at run time with
Dim b as Bitmap
b=New
Bitmap(System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream("mainSpace.myImage.bmp"))
where "mainSpace" is the namespace.
I use VS 2003 with Wince4.1 emulator and raise a "nullReference Exception".
What is wrong?
Thank you for your help
Giuseppe
I have a bitmap "myImage.bmp" embedded in my project and Build Action
property is set to "Embedded Resource".
I'd like to load this image at run time with
Dim b as Bitmap
b=New
Bitmap(System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream("mainSpace.myImage.bmp"))
where "mainSpace" is the namespace.
I use VS 2003 with Wince4.1 emulator and raise a "nullReference Exception".
What is wrong?
Thank you for your help
Giuseppe