I googled this and found several different codes, but none of them work. What I want is to be able to create a control, for example a Label, during the runtime of my program. I've tried:
And many other variations. However on each one of them nothing happens, no label is visible. Anyone know how to do this?Code:Dim lbl as New Label lbl.Text = "Hello" lbl.Location = New Point(20, 20) lbl.Visible = True lbl.Show() lbl.Name = "Label1" Me.Controls.Add(lbl)




button on their post and leave them a comment to let them know they did a good job
Reply With Quote