K
kronecker
I have an image which I need to load
PictureBox1.Image = Image.FromFile(My.Resources.myimage)
and this worked fine when the image (myimage.jpg) was in the debug Bin
directory. I now am moving them all to
a folder called Resources and specify the files as above. Doesn't work
though and the file is definitely there and VB.Net recognizes it when
I type in the expression. What's wrong? it's looking for a string.
Thanks
K.
PictureBox1.Image = Image.FromFile(My.Resources.myimage)
and this worked fine when the image (myimage.jpg) was in the debug Bin
directory. I now am moving them all to
a folder called Resources and specify the files as above. Doesn't work
though and the file is definitely there and VB.Net recognizes it when
I type in the expression. What's wrong? it's looking for a string.
Thanks
K.