=================================Slip22_1===================================
Write a VB program to load picturebox at a runtime.
==========================================================================
Private Sub Form_Load()
Dim pc As Control
Set pc =
Controls.Add("VB.PictureBox", "MyPicture")
pc.Left = 100
pc.Top = 100
pc.Width = 10000
pc.Height = 6000
pc.Picture =
LoadPicture("C:\Users\Ramdas\Pictures\nr_visiting_card0002.jpg")
pc.Visible = True
End Sub
No comments:
Post a Comment
Note: only a member of this blog may post a comment.