473,403 Members | 2,270 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,403 software developers and data experts.

Controls dropped by designer

guy
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
Nov 21 '05 #1
5 883
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.
Nov 21 '05 #2
guy
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.

Nov 21 '05 #3
They're local.
Nov 21 '05 #4
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)
Nov 21 '05 #5
guy
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)

Nov 21 '05 #6

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

Similar topics

0
by: karlodb | last post by:
Hi all, I've been struggling with some strange VB behaviour for the last two days. I have created a usercontrol and placed two buttons in it. One is anchored bottom and right. When place the...
0
by: jonelling | last post by:
I am having a problem where the page load event is not being fired for certain user controls that I load dynamically in placeholders. Here is what I'm doing in brief, with full test code supplied...
3
by: Wayne | last post by:
1. I have created my own class that inherits the textbox (called it CyanFocusTextBox). I put in some code and some new properties. All this works. I build the dll that contains this class...
3
by: Tom | last post by:
I am writing a Visual basic .Net database application. There are many forms that first let you select and look at a DB record and then when you click a "modify" button you are allowed to change...
0
by: WadeC | last post by:
I managed to succesfully create an user control in asp.net 2.0 and I can plop it onto my .aspx page - that all works fine... My question is regarding how the user control is shown in the designer...
1
by: matt.delvecchio | last post by:
hello, ive got a usercontrol that has some textboxes, a button, and a handler routine for its button_click. when this usercontrol is dropped into a page via the designer, it functions as...
15
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
1
by: D2 | last post by:
Hi, I need to find all the non-ui controls like errorproviders that have been dropped in the form. Unlike form.controls property, I dont see any collection that maintains all the non-ui controls...
3
by: =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post by:
Hi all It is maybe a stupid question, but I have some trouble with Inheritance. For example: I create a new class with one form. On this form I place on the bottom a Panel and on this Panel...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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,...
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
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.