473,394 Members | 1,735 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,394 software developers and data experts.

BUG: Form Designer Destruction Madness

How to reproduce:

I have some usercontrols in a library and added some to my project using form
designer.
Now i make some changes to a control, rebuild "controls" library.
OK, they have been rebuilt.

Now for the stupid part.
Let's suppose i've made some "mistake" and an exception is thrown in the
control's constructor.
I open the form and Form Designer can't correctly instantiate the controls.
Well...ups, i shall correct the error and continue...
But NO, it just removes the controls from the form, leaving just the declaration !

This is the most annoying bug in VS IDE for me.
Or am i doing something wrong ?
Is there any sensible workaround for this ?
Putting everything in a try..catch block doesn't sound right to me.

--
Adam Nowotny
JID: da**@chrome.pl
Nov 22 '05 #1
0 698

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

Similar topics

5
by: nospam | last post by:
I'm at the end of my rope. We have an important project that is being totally whacked by an inexplicable bug with the Visual Studio.NET WinForms designer. It seems that no matter what we do, forms...
0
by: Adam Nowotny | last post by:
How to reproduce: I have some usercontrols in a library and added some to my project using form designer. Now i make some changes to a control, rebuild "controls" library. OK, they have been...
13
by: Lorne Smith | last post by:
Hi, First, sorry for the crosspost, but it seemed appropriate... :) I've come accross what I consider to be a bug, but I don't know if it's already known or not. (VS .Net 2003 Pro - VB.Net) ...
3
by: Xwire | last post by:
Can anyone explain why when i set the .ClientSize of a form, and then check the .ClientSize when the resize event fires, it is slightly off, generally 20(varys) pixels in the height but not...
14
by: Dennis | last post by:
I have a form that had a button called but_Edit which had it's visible property set to False. I have been working on an applicaiton using this form for some time and all was going well and it ran...
4
by: Dennis | last post by:
I just lost some user controls for no reason using VB.Net 2003. I had added the controls thru the Design IDE and all was working ok but for some reason, they just disappeared. The form module...
3
by: Simon Tamman | last post by:
I've come across an interesting bug. I have workarounds but i'd like to know the root of the problem. I've stripped it down into a short file and hope someone might have an idea about what's going...
3
by: herr | last post by:
Hi all, I am having this problem with C# 2005 professional, while I could never see such a thing in VS 2003. The problem is that the form designer doesn't reflect the changes I make to a form...
0
by: No.23 | last post by:
#!/usr/bin/env python import libgmail from time import gmtime, strftime fp = open('/tmp/python.list', 'w') ga = libgmail.GmailAccount("No.0023@gmail.com", "mypass") ga.login() result =...
12
by: Juan T. Llibre | last post by:
re: !I found an MSDN document that explains why what I'm trying to do should work Lee, From : http://www.w3.org/TR/REC-xml/ "A special attribute named xml:lang may be inserted in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.