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 2 1315
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**@discussio ns.microsoft.co m> wrote in message
news:63******** *************** ***********@mic rosoft.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
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**@discussio ns.microsoft.co m> wrote in message news:63******** *************** ***********@mic rosoft.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 back at the form (which carries on
working). If I deliberately catch an error, I catch it just fine.
Stepping through it line by line, it runs to the exception generating
line, and then just doesn't execute anything beyond that line.
I've...
|
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
the built project runs just fine too), but if I open one of the forms
up in the IDE to edit it visually, it complains that it can't find the
controls.
Going into the code, and checking with "Go To Definition" confirms that
it _can_ find the...
|
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" VALUE="jars/myapp.jar"> line
completely vanishes.
Click to HTML view again, and the applet just does not
load or work (as would be expected!). Re-add the vanishing
line and all is well again.
|
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, etc),
a button is clicked and the databind occurs. This part works fine. It
retreives the 4-10 rows it needs and using the itemdatabound formats
everything nicely.
What I intend to do then, is after the user has gone through the nested
controls...
|
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, as OLE is not supported
in .Net.
After some initial tests I’ve managed to get the Application to appear and
users are able to interact with it via some external controls on the same
Windows form.
My problem is that the MS Graph application...
| |
by: Linda |
last post by:
Greetings,
I am experiencing a problem similar to that mentioned in <a
href="http://groups-beta.google.com/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/a4ca8746b3de09c2/3a24082f15010830?q=controls+vanishing&rnum=1#3a24082f15010830">this
post</a>, which is too old for me to respond to. Does anyone have any
additional information?
I am using VB.Net 2003. The Solution has two projects: one is a library
project, which...
|
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)
Dim dSet As DataSet
Dim sqlConn As SqlConnection
Dim sqlDapter As SqlDataAdapter
sqlConn = New SqlConnection("Data Source=AD\SQLEXPRESS;Initial
|
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.
lstManager.Items.Clear();
lstManager.DataSource = _dsData.Tables.DefaultView;
lstManager.DataValueField = "ManagerID";
lstManager.DataTextField = "Name";
|
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 joins vanish from
at least one (seemingly random) query.
I've always regarded the Vanishing Joins bug as a symptom of
corruption. When it happens, I usually give my users advice on how to
recover from corruption, and how to avoid it in the future....
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |