I have added a usercontrol to a form as following code, now I would like to unload the usercontrol, I don't want the usercontrol show in the Form any more.
Anyone can help me????
Licenses.Add "Project1.UserControl1"
Set ctlMyTestControl = Form1.Controls.Add("Project1.UserControl1", "ctlTest"
ctlMyTestControl.Visible = True
ctlMyTestControl.Move 1600, 100
Anyone can help me????
Licenses.Add "Project1.UserControl1"
Set ctlMyTestControl = Form1.Controls.Add("Project1.UserControl1", "ctlTest"
ctlMyTestControl.Visible = True
ctlMyTestControl.Move 1600, 100