Welcome to VBForums.
You'd have to create a NEW instance of the label class:
Then just set any properties you need and add it to the container you wish to hold it, commonly the form.VB.NET Code:
Dim myLabel As New Label()
VB.NET Code:
myLabel.Text = "Hello world" myLabel.Location = New Point(30, 30) Me.Controls.Add(myLabel)




Reply With Quote