HI there, ill explain my problem in the following exple:
for i=1 to 10
' i need to create a picturebox(i) that are visible on the current form
loop
what i did is the following:
Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox
Me.PictureBox2 = New System.Windows.Forms.PictureBox()
Me.PictureBox2.BackColor = System.Drawing.SystemColors.Desktop
Me.PictureBox2.Location = New System.Drawing.Point(85, 124)
Me.PictureBox2.Name = "PictureBox2"
Me.PictureBox2.Size = New System.Drawing.Size(40, 40)
and i added it to the PUBLIC SUB NEW()
but for some reasons, i dont get any errors but picturebox2 is not showing (not visible), pleaz guys i cld really need your help.
thank you ...




Reply With Quote