Hi,
everytime I call this piece of code, it end with an exepction
the ex is:
Message "'null' is not a valid value for 'stream'." String
these are my imports
I dont get it. I have both of the bmp's at the location where my app is located. (and to be sure also in \bin)
what Im I doing wrong (I call this form another form)
ideas?
everytime I call this piece of code, it end with an exepction
VB.NET:
[SIZE=2][COLOR=#0000ff]
Dim[/COLOR][/SIZE][SIZE=2] strm [/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2] System.IO.Stream = [/SIZE][SIZE=2][COLOR=#0000ff]Me[/COLOR][/SIZE][SIZE=2].GetType().Assembly.GetManifestResourceStream("fullbuttonface.bmp")
_buttonFace = [/SIZE][SIZE=2][COLOR=#0000ff]New[/COLOR][/SIZE][SIZE=2] Bitmap(strm)
[/SIZE]
the ex is:
Message "'null' is not a valid value for 'stream'." String
these are my imports
VB.NET:
[SIZE=2][COLOR=#0000ff]
Imports[/COLOR][/SIZE][SIZE=2] Microsoft.VisualBasic
[/SIZE][SIZE=2][COLOR=#0000ff]Imports[/COLOR][/SIZE][SIZE=2] System
[/SIZE][SIZE=2][COLOR=#0000ff]Imports[/COLOR][/SIZE][SIZE=2] System.Drawing
[/SIZE][SIZE=2][COLOR=#0000ff]Imports[/COLOR][/SIZE][SIZE=2] System.IO
[/SIZE][SIZE=2][COLOR=#0000ff]Imports[/COLOR][/SIZE][SIZE=2] System.Reflection
[/SIZE][SIZE=2][COLOR=#0000ff]Imports[/COLOR][/SIZE][SIZE=2] System.Windows.Forms
[/SIZE]
I dont get it. I have both of the bmp's at the location where my app is located. (and to be sure also in \bin)
what Im I doing wrong (I call this form another form)
ideas?