473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Developing controls - visual studio problem ?



This one is driving me nuts.

I have a Windows application and a windows control library contained
in the same project. In the controll library I have a control derrived
from System.Windows.Forms.Button :-

public class neatBtn : System.Windows.Forms.Button

I am using neatBtn on the form in the windows application.

However changes that I make to my neatBtn do not seem to become
available in the control that is used on the form until I close the
whole of visual studio and re-run it.

This seems to apply to both properties and methods.

There _has_ to be a better way - or am I missing the plot ?

Nov 15 '05 #1
6 1333
Did you re-build the control library containing neatBtn + maybe close and
re-open the form containing it?
"Paul R Carre" <pa********@polarinstruments.com> wrote in message
news:3f**************@news.cwgsy.net...


This one is driving me nuts.

I have a Windows application and a windows control library contained
in the same project. In the controll library I have a control derrived
from System.Windows.Forms.Button :-

public class neatBtn : System.Windows.Forms.Button

I am using neatBtn on the form in the windows application.

However changes that I make to my neatBtn do not seem to become
available in the control that is used on the form until I close the
whole of visual studio and re-run it.

This seems to apply to both properties and methods.

There _has_ to be a better way - or am I missing the plot ?

Nov 15 '05 #2

Yup - tried that several times - it is just as though it is not
unloading the dll that contains the control.

Am I doing somthing wierd here or what ?

On Thu, 18 Sep 2003 11:49:19 +0100, "Dave" <millitec.com@dave> wrote:
Did you re-build the control library containing neatBtn + maybe close and
re-open the form containing it?
"Paul R Carre" <pa********@polarinstruments.com> wrote in message
news:3f**************@news.cwgsy.net...


This one is driving me nuts.

I have a Windows application and a windows control library contained
in the same project. In the controll library I have a control derrived
from System.Windows.Forms.Button :-

public class neatBtn : System.Windows.Forms.Button

I am using neatBtn on the form in the windows application.

However changes that I make to my neatBtn do not seem to become
available in the control that is used on the form until I close the
whole of visual studio and re-run it.

This seems to apply to both properties and methods.

There _has_ to be a better way - or am I missing the plot ?



Nov 15 '05 #3
Try closing the solution and re-opening it.

"Paul R Carre" <pa********@polarinstruments.com> wrote in message
news:3f***************@news.cwgsy.net...

Yup - tried that several times - it is just as though it is not
unloading the dll that contains the control.

Am I doing somthing wierd here or what ?

On Thu, 18 Sep 2003 11:49:19 +0100, "Dave" <millitec.com@dave> wrote:
Did you re-build the control library containing neatBtn + maybe close and
re-open the form containing it?
"Paul R Carre" <pa********@polarinstruments.com> wrote in message
news:3f**************@news.cwgsy.net...


This one is driving me nuts.

I have a Windows application and a windows control library contained
in the same project. In the controll library I have a control derrived
from System.Windows.Forms.Button :-

public class neatBtn : System.Windows.Forms.Button

I am using neatBtn on the form in the windows application.

However changes that I make to my neatBtn do not seem to become
available in the control that is used on the form until I close the
whole of visual studio and re-run it.

This seems to apply to both properties and methods.

There _has_ to be a better way - or am I missing the plot ?


Nov 15 '05 #4
Paul, I was working on a control yesterday and like you, none of my
changes were appearing until I closed all code/designer windows and
deleted the button from the host form, then rebuilt and redrew the
button. Give that a shot?

pa********@polarinstruments.com (Paul R Carre) wrote in message news:<3f**************@news.cwgsy.net>...
This one is driving me nuts.

I have a Windows application and a windows control library contained
in the same project. In the controll library I have a control derrived
from System.Windows.Forms.Button :-

public class neatBtn : System.Windows.Forms.Button

I am using neatBtn on the form in the windows application.

However changes that I make to my neatBtn do not seem to become
available in the control that is used on the form until I close the
whole of visual studio and re-run it.

This seems to apply to both properties and methods.

There _has_ to be a better way - or am I missing the plot ?

Nov 15 '05 #5
On 18 Sep 2003 12:03:26 -0700, ch***@chornbe.com (Chris Hornberger)
wrote:
Paul, I was working on a control yesterday and like you, none of my
changes were appearing until I closed all code/designer windows and
deleted the button from the host form, then rebuilt and redrew the
button. Give that a shot?


Not for me - the only way I can get the changes to be seen ( currently
) are by closing and re starting visual studio.
Nov 15 '05 #6
On Thu, 18 Sep 2003 06:29:24 -0700, "Ryan Wade" <te**@test.com> wrote:
Try closing the solution and re-opening it.


Nope.
Nov 15 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: noname | last post by:
i recently downloaded the IE web controls from here: http://www.asp.net/IEWebControls/Download.aspx?tabindex=0&tabid=1 i've installed and got the samples running fine. now i want to develop...
2
by: Roberto | last post by:
Hi, I am new using asp.net. I just installed visual studio.net but I can't open a new project using asp.net. Is there anything else I need to active or start so it would work? thank you
11
by: Simon | last post by:
Hi all As I'm sure is common knowledge the version of IIS included in XP Pro is limited in that you can only create 1 website in the IIS snap in. As an ASP.net developer this is a pain in the...
1
by: Chris | last post by:
This may be more of a Visual Studio question but those groups seem to be full of unrelated stuff so hopefully this might be the right place. I have a class (no associated aspx file) which handles...
1
by: E. Tom Jorgenson | last post by:
I've run into a problem on a couple of projects that I think I've identified - but would like confirmation of what I think is going on. Also interested in any fast solutions to fix the user...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
2
by: יוני גולדברג | last post by:
Hi, I have visual studio 2005 on client machine and another server machine (with sql server 2000 and IIS). Also i have .sln (visual studio solution) file with some asp.net project i have to...
1
by: Jeff | last post by:
Hey IDE: VS .NET 2005 #1 I want to start developing web parts in visual studio 2005 and are wondering where is the latest version of the web part templates. I did find this download (the...
7
by: Chris Marsh | last post by:
All I've been asked run a VM on my development machine, with Windows Server 2003 installed. I've also been asked to then develop against this environment from the host machine, using Visual...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.