Thread: Solved VB Picturebox control
View Single Post
20 Jul 2012  
kuchiyo

Windows 7 Enterprise 64 Bit
 
 
VB Picturebox control

Hi, is there way to change the picture box image when pressed a button?

Something like this:

PictureBox1.Image = (Pic.png)

This crashed the application:

PictureBox1.Image = System.Drawing.Bitmap.FromFile(Pic.png)

Thanks.
My System SpecsSystem Spec