AboutSyed 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.
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.