By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,561 Members | 3,083 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,561 IT Pros & Developers. It's quick & easy.

Vanishing Controls

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.