473,320 Members | 1,839 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,320 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 931

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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.