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

Vanishing Controls

There is a repeating issue of controls vanishing from a form in the Dev
environment which is starting to get annoying.

What happens is that I will have a form open in the IDE. The form will have
a variety of buttons on it. The form will be saved, then compiled and run.
After it runs, one or more buttons have either vanished completely, or moved
to a position of 0,0.

If the control vanishes completely, it may still show up when running the
form, or sometimes it doesn't. It is not possible to select the button as it
is not visible, yet I can't create another one to replace it with the same
name as it's already there.

If anyone has a workaround or resolution for this, I would appreciate it.
These are controls with one level of inheritance.

Thanks,

Greg
--
Greg Gum
Nov 17 '05 #1
2 1298
Hi,

The only "workaround" (see below why I am putting the quotes around it) I
know is to:

a) Before opening any designer, always make sure your solution successfully
compiles.
b) Even if it compiles, make sure there are no missing references in any of
the projects.
c) Before compiling a solution, close all designer windows.
d) After opening a designer window, look immediately to the Tasks pane. If
you see any control-related errors there, remember or copy the messages,
close the designer immediately and undo checkout on the corresponding
file(s) if possible. DO NOT open the designer until you've resolved the
reported issues.

I know - this is annoying and this is a pain, but these are the only
measures I am aware of to prevent the vanishing of controls. If someone from
Microsoft pays attention to this message, can you please post whether a
hotfix is available to resolve this issue? I remember this problem has
existed since VS .NET 7.0 and it appears to me to be rather annoying as it
corrupts the developer's work and code.

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:63**********************************@microsof t.com...
There is a repeating issue of controls vanishing from a form in the Dev
environment which is starting to get annoying.

What happens is that I will have a form open in the IDE. The form will
have
a variety of buttons on it. The form will be saved, then compiled and
run.
After it runs, one or more buttons have either vanished completely, or
moved
to a position of 0,0.

If the control vanishes completely, it may still show up when running the
form, or sometimes it doesn't. It is not possible to select the button as
it
is not visible, yet I can't create another one to replace it with the same
name as it's already there.

If anyone has a workaround or resolution for this, I would appreciate it.
These are controls with one level of inheritance.

Thanks,

Greg
--
Greg Gum


Nov 17 '05 #2
Thanks, that seems to help out. It's the little things...

Greg

"Dmytro Lapshyn [MVP]" wrote:
Hi,

The only "workaround" (see below why I am putting the quotes around it) I
know is to:

a) Before opening any designer, always make sure your solution successfully
compiles.
b) Even if it compiles, make sure there are no missing references in any of
the projects.
c) Before compiling a solution, close all designer windows.
d) After opening a designer window, look immediately to the Tasks pane. If
you see any control-related errors there, remember or copy the messages,
close the designer immediately and undo checkout on the corresponding
file(s) if possible. DO NOT open the designer until you've resolved the
reported issues.

I know - this is annoying and this is a pain, but these are the only
measures I am aware of to prevent the vanishing of controls. If someone from
Microsoft pays attention to this message, can you please post whether a
hotfix is available to resolve this issue? I remember this problem has
existed since VS .NET 7.0 and it appears to me to be rather annoying as it
corrupts the developer's work and code.

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:63**********************************@microsof t.com...
There is a repeating issue of controls vanishing from a form in the Dev
environment which is starting to get annoying.

What happens is that I will have a form open in the IDE. The form will
have
a variety of buttons on it. The form will be saved, then compiled and
run.
After it runs, one or more buttons have either vanished completely, or
moved
to a position of 0,0.

If the control vanishes completely, it may still show up when running the
form, or sometimes it doesn't. It is not possible to select the button as
it
is not visible, yet I can't create another one to replace it with the same
name as it's already there.

If anyone has a workaround or resolution for this, I would appreciate it.
These are controls with one level of inheritance.

Thanks,

Greg
--
Greg Gum


Nov 17 '05 #3

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

Similar topics

7
by: Andrew Ducker | last post by:
My unhandled exceptions seem to just vanish. If I put the line: int x = int.Parse("XXX"); in (which generates an exception, obviously) then the code that's executing just vanishes, leaving me...
4
by: Andrew Ducker | last post by:
I have a project with a variety of forms in it. The controls on those forms are from another project in the same solution. When I change from Debug to Release, I can do a build just fine (and...
0
by: Michael | last post by:
After trying to load my java applet from <OBJECT> tag (rather than <APPLET> tag), it renders fine, except when you click between the DESIGN view then back to HTML view, the <PARAM NAME="ARCHIVE"...
2
by: nulldevice | last post by:
I've got a datagrid with some nested controls, created at design-time. The controls themselves have no databound values. After a few other operations on the page (selecting a few parameters,...
0
by: StepHenHairNet | last post by:
I have a problem with MS Graph which I wonder if anyone can help me with. I have built an application in VB.Net, using a WebBrowser control to act as an pseudo OLE container for the Graph Object,...
2
by: Linda | last post by:
Greetings, I am experiencing a problem similar to that mentioned in <a...
15
by: Arpan | last post by:
Consider the following code which retrieves data from a SQL Server 2005 DB table & displays it in a DataGrid: <script runat="server"> Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)...
2
by: mark4asp | last post by:
The first intem in a DropDownList is vanishing! My code to load a DropDownList is shown below. Yet when I load the page after a postback there is no zeroth item present. ...
36
by: TC | last post by:
I've used Access for many years. Several times, I've encountered a bug which I refer to as the "Vanishing Joins" bug. When it happens, joins vanish randomly from queries. More specifically, all...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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...
1
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...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.