Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add usercontrol and runtime on a form

Status
Not open for further replies.

monicachopra

Programmer
May 13, 2005
1
NZ
I have a predefined user control designed at design time . i want to load it on a form at runtime pls help
 
And if it's a VB6 usercontrol to be loaded:

form.Controls.Add("ProjectName.UserControlName", "NameYouWantToGiveIt")

Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top