-
I have a picturebox in a form. Based on the result of some operation, I want this picture to change. Either by always pointing the PictureBox to a file that would change content, or by pointing the PictureBox to various files.
How to I format the information to pass the new picture to the Picture property of the PictureBox object ? I tried the full path as a string... doesn't work...
Anyone can help ?
-
Code:
PictureBox.Picture = LoadPicture("C:\Path\Mypicture.gif")
-
Thanks!
I knew it would be simple....
Thanks again !