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

Disappearing layout

Hi!

Problem description:

I designed a form in c# and placed a few controls on it (nothing fancy
- labels and textboxes). Then I exited the IDE. When I opened the
project next time ALL CONTORLS WERE GONE. In the .cs file all the
generated code still exists (as far as I can tell).

Do not know if this is relevant:

The "problem child" form is derived from some base form, which has 3
buttons and a panel. The missing controls are placed in the derived
form in the base form panel (container).

I'm sure this happened to a lot of vs2003 users, but I could not find
the answer how to recover, witought redoing the job).

Nov 15 '06 #1
1 1232
This is the first time I heard of it. Anyway, is your Control code still in
your cs file such as:

private System.Windows.Forms.StatusStrip statusStrip1;

private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;

private System.Windows.Forms.Button button1;

private System.Windows.Forms.MenuStrip menuStrip1;

private System.Windows.Forms.RichTextBox richTextBox1;

private WindowsControlLibrary1.UserControl1 userControl11;

private System.Windows.Forms.Button button2;

If it does exist then you rebuild it should be fine.

chanmm
"Lev Elbert" <el*******@hotmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Hi!

Problem description:

I designed a form in c# and placed a few controls on it (nothing fancy
- labels and textboxes). Then I exited the IDE. When I opened the
project next time ALL CONTORLS WERE GONE. In the .cs file all the
generated code still exists (as far as I can tell).

Do not know if this is relevant:

The "problem child" form is derived from some base form, which has 3
buttons and a panel. The missing controls are placed in the derived
form in the base form panel (container).

I'm sure this happened to a lot of vs2003 users, but I could not find
the answer how to recover, witought redoing the job).

Nov 16 '06 #2

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

Similar topics

9
by: Larry Woods | last post by:
I have a site that works fine for days, then suddenly, I start getting ASP 0115 errors with an indication that session variables IN SEPARATE SESSIONS have disappeared! First, for background...
3
by: tamorrel | last post by:
I am new to VB.Net and I'm creating an application that uses Windows Forms in a MDI parent. Typical Client/Server Application. I first create the layout of the form then write the code. If I close...
1
by: R0bert Neville | last post by:
My web page has one unordered list that disappears in Firefox. The unordered list in question has the class="dir". I double-checked the source code and verified the markup's semantics. Everything...
1
by: .Net Sports | last post by:
Periodically, my project dll inside the bin folder keeps disappearing (????) , which creates a "Cannot load type myproject.global " error . ????? ..NetSports
2
by: neptune | last post by:
I built a form to access a query with a 2 field primary key. It should use 2 controls to find the unique record and display the other field values on the form. In the criteria section of the...
2
by: Rachel Suddeth | last post by:
Here is my scenario: I have a few custom controls that I set up on a form and tested setting properties and appearances. Then I added a couple references to the project which add classes I need to...
6
by: Winshent | last post by:
I have read many threads which indicate that this was a problem with version 2002. Why should i be suffering this? I am using VB.NET 2003 Standard Edition... is it still a problem with 2003? ...
9
by: Annelies | last post by:
I've come across a strange problem I can't seem to solve. Every now and then the scrollbars in IE for http://www.websaid.be/ disappear. Most of the time the problem can be reproduced by following...
7
by: Gerry Vandermaesen | last post by:
Hi, I cannot find an explanation for the problem I have encountered. As far as I can tell, Internet Explorer does not display a layer with absolute positioning which is followed by a floating...
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
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: 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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.