I am trying to insert a filled picturebox when my form loads.
My current code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Seatimage As PictureBox = New PictureBox()
Seatimage.Name = "Seatimage"
Seatimage.Location = New System.Drawing.Point(419, 134)
Seatimage.AutoSize = True
Seatimage.Size = New System.Drawing.Size(65, 23)
Seatimage.ImageLocation = ("C:\Users\Harley\Desktop\Untitled.png")
Seatimage.Load()
Seatimage.TabIndex = 4
End Sub
When i load the page, no image shows. Any help?
Also, can anyone help to explain how to perform this with multiple pictureboxes,using a loop, spaced out evenly over the form.
Thanks loads Guys.