AllExperts > Experts 
Search      

VB.NET

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More VB.NET Answers
Question Library

Ask a question about VB.NET
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Syed Rizwan Muhammad Rizvi
Expertise
I can answers questions regarding web based and desktop based programming in VB.Net. Which can include SOAP, XML, Custom Controls, COM Interoperability etc.

Experience
Have been working in this specific area for last 2 years previously I was a VB 6 Developer with experties in other languages as well. Total 10 years of programming experience.

 
   

You are here:  Experts > Computing/Technology > Basic > VB.NET > control with no DLL

Topic: VB.NET



Expert: Syed Rizwan Muhammad Rizvi
Date: 7/28/2007
Subject: control with no DLL

Question
Hi
There are some UI elements in my project that are needed more than 1 time in different forms. I decided to design them as separate UserControls in my project's solution instead of copy-pasteing them all the time. But I don't want them to be compiled to separate DLLs as they are only usable in this project.
The problem is that I can just add them to my forms at  runtime not design time.
How can I both design userControls in the same project without compiling them separately, and also being able to add them to other forms of the same project at design time not runtime? Or can you suggest any other option instead of userControls that does the both functionalities I have mentioned?
Thanks a lot

Answer
Try adding the control related files to your project and reference them in your project compile your project once and the reference to your project on toolbar. I have never done this but I hope its going to work otherwise you can create a general form with your repeating controls and created inherited forms out of it so you dont have repeat creating of controls.

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.