Controls dropped by designer

G

Guest

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
 
B

Benny Raymond

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.
 
G

Guest

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
 
B

Benny Raymond

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)
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top