Sunday, August 2, 2009

How can you load an image into a picture box on visual basic 6?

I am trying to load an image into a regular picture by somehow using the file address to tell the computer to load this image into the picture box. What is the syntax for this?

How can you load an image into a picture box on visual basic 6?
Picture1.Picture = LoadPicture(App.Path %26amp; ("filename.extention")
Reply:myPictureBox.Image = new Bitmap("MyBitmap.bmp")





that should be the easiest way...


No comments:

Post a Comment