This is a sample program on how to load a picture using PictureBox component. Hope this one helps you.
The following is the sample code of the program above.
Private Sub Command1_Click()
Picture1.Picture = LoadPicture("C:\Documents and Settings\Yves\Desktop\clients_icon.jpg")
End Sub
Note:
- the texts inside the double quote (" ") is the path of your image that you want to load.
Happy Coding! :)
Picture1.Picture = LoadPicture("D:\myPictures\flowers.jpg")
ReplyDeletepre anu bang declarations kailangan jan hindi nmn kse gumagana