Click here to Skip to main content
15,921,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Team,

I have designed a user define control form windows application in vb.net
and used some property and implemented in other windows application in vb.net.

After some modifications in the user control i have added some more property
but those properties are not reflecting in design time form but its available in coding window.

Thanks
Sukhen Dass
Posted

1 solution

Hi,

As I understand you have created a control in an assembly that you are using from another assembly.

In order to reflect the changes, you have to compile your first project, so that your second project can see the changes.
 
Share this answer
 
Comments
sukhen dass 15-Jan-13 4:45am    
compiled many times but its not reflecting..however it is available in code window but not on form(at desing time)
phil.o 15-Jan-13 5:35am    
Then you should :
- suppress the (older) control in the toolbox
- re-add the control to the toolbox from the newly compiled assembly
- suppress the old control from your second project
- add the new control to your project and reconfigure its properties
sukhen dass 21-Jan-13 23:52pm    
thanks but i cant do that because control is using on many forms in the project..please,give some other soluton if any
phil.o 22-Jan-13 3:17am    
Sorry I don't have any other.
The only thing you could do to spare your time is to copy the code initiating the properties of your control in each form ; these properties are set inside the .Designer.vb files.
Then suppress all your controls ; import the control from the newly compiled assembly ; then paste what you copied at first step.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900