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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding A User Control

Status
Not open for further replies.

0CODE

Programmer
Feb 8, 2004
63
CA
I can create a user control within a project and access it fine, but what I would like to do is create a "Windows Control Library" and then add that control to any project I may create. How would I add the windows control library control to any project?

Thanks
 
Once you build the Release version of the Control Library file, it will be a .dll in your /bin directory. Go to "Add Reference" in Visual Studio, and select the "Projects" tab. Then find your .dll file and it will be added to the project.

If you need to put it in your toolbox, go to "Customize Toolbox" (right-click on the toolbox itself) and add it there. It's a very similar interface to the "Add Reference" box.

Ben

There's no place like 127.0.0.1.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top