Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
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 14-Jan-13 22:40pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
sukhen dass at 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 at 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 at 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 at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 499
1 Nirav Prabtani 338
2 OriginalGriff 175
3 _Amy 165
4 Abhinav S 160
0 OriginalGriff 7,715
1 Sergey Alexandrovich Kryukov 6,911
2 Maciej Los 3,954
3 Peter Leow 3,698
4 CHill60 2,742


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100