PC Review


Reply
Thread Tools Rate Thread

Controls dropped by designer

 
 
=?Utf-8?B?Z3V5?=
Guest
Posts: n/a
 
      21st Oct 2004
Has anyone else experienced this?
When a number of source files are open in the editor if a Form designer is
also open while another file is being edited occaisionaly controls get
dropped from the Form. What seems to happen is the definition of the control
remains but all references to it in the InitializeComponent sub are removed.
This means that the solution still compiles which makes it hard to notice the
control is missing.

VS2003 (although I have seen this in VS2002) with source files on a network
share
on both W2K and XP

both myself and my colleague are experiencing this.

guy
 
Reply With Quote
 
 
 
 
Benny Raymond
Guest
Posts: n/a
 
      21st Oct 2004
I get the same problem - I'm working on a view that incorporates a tree
list into a listview - every once in a while when I get done editing my
treelistcols (the name of the tree list in a list view that i'm making)
and switch over to the form designer, the treeviewcols is completely
gone, when i look at the code i notice that it's def is there but
nothing else is - This happens at least once a day. It's a major pain
in the ass.
 
Reply With Quote
 
=?Utf-8?B?Z3V5?=
Guest
Posts: n/a
 
      21st Oct 2004
Barry,
Im glad im not the only one. (sorry its you though!)

btw are your source files on a network share or local?

cheers

guy

"Benny Raymond" wrote:

> I get the same problem - I'm working on a view that incorporates a tree
> list into a listview - every once in a while when I get done editing my
> treelistcols (the name of the tree list in a list view that i'm making)
> and switch over to the form designer, the treeviewcols is completely
> gone, when i look at the code i notice that it's def is there but
> nothing else is - This happens at least once a day. It's a major pain
> in the ass.
>

 
Reply With Quote
 
Benny Raymond
Guest
Posts: n/a
 
      21st Oct 2004
They're local.
 
Reply With Quote
 
Benny Raymond
Guest
Posts: n/a
 
      21st Oct 2004
I've noticed that if I save all before going to the designer, and make a
habit of it - I can close the project when it happens, don't save, and
then re-open and the problem is fixed... Kinda crappy but it's a solid
work around if you don't want to re-create it everytime (saves at least
10 minutes for me)
 
Reply With Quote
 
=?Utf-8?B?Z3V5?=
Guest
Posts: n/a
 
      22nd Oct 2004
Hi Benny,
I have found it only seems to happen if you have a form opened for design,
and work on other files so I try and close the form designer as soon as I
can. not always possible but it minimises the problem

cheers

guy

"Benny Raymond" wrote:

> I've noticed that if I save all before going to the designer, and make a
> habit of it - I can close the project when it happens, don't save, and
> then re-open and the problem is fixed... Kinda crappy but it's a solid
> work around if you don't want to re-create it everytime (saves at least
> 10 minutes for me)
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Define irregularly shaped area in UserControl where controls may be dropped Olaf Rabbachin Microsoft VB .NET 6 28th May 2009 08:47 PM
Define irregularly shaped area in UserControl where controls may be dropped Olaf Rabbachin Microsoft VB .NET 0 28th May 2009 04:21 PM
Macro that detects controls dropped at design time? dgk Microsoft VB .NET 0 1st May 2007 03:21 PM
Controls and Designer =?Utf-8?B?U3RlYW1ib2F0?= Microsoft Dot NET Compact Framework 0 3rd Mar 2006 09:45 PM
All controls in designer Alexander Popov Microsoft ASP .NET 0 26th May 2004 03:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:07 AM.