PictureBox Help

eatsubway

New member
Joined
Feb 2, 2010
Messages
1
Programming Experience
Beginner
Currently I'm using a picturebox object in a program which is referenced to a location on my local computer ie "PictureBox.image = Image.FromFile("c:/image.jpg")"

I would like the image packaged in the .exe rather than using the file's extension. So if the exe is copied to another computer it will display fine. How can I do this?

I was able to do this is the drag and drog editor by importing an image rather than specifying a location, but for my purposes I'd like it done programmatically

Thanks.
 
Back
Top