473,654 Members | 3,251 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Vanishing User Controls

Greetings,

I am experiencing a problem similar to that mentioned in <a
href="http://groups-beta.google.com/group/microsoft.publi c.dotnet.langua ges.vb/browse_thread/thread/a4ca8746b3de09c 2/3a24082f1501083 0?q=controls+va nishing&rnum=1# 3a24082f1501083 0">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 contains amoung other things a user control. The other
project is for an executable application which uses the user control.

The problem is that the user control will periodically vanish, and my
task list will complain that it can't find the assembly, telling me to
check my references. But the references are fine, and the executable
project has no difficulty seeing non-control classes in the library
project.

The only way I've found to fix this issue is the same one the poster in
the link above mentions: manually delete the code from the
generated-code section, and drop the control back in. Sometimes there
are still odd errors after I do this, and I need to create a new
source-code file, copy the old non-generated code into it, and then add
the control. I have not found a way to prevent it from vanishing in the
first place.

Does anyone have any information on what causes this and how to prevent
it? It's causing a major snag in my development.

Thanks,

Linda

Nov 21 '05 #1
2 1286
Hi,

Make sure you have service pack 1 for the dot net framework 1.1
installed.

http://www.microsoft.com/downloads/d...displaylang=en
Ken
------------------
"Linda" <lm***@fas.harv ard.edu> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
Greetings,

I am experiencing a problem similar to that mentioned in <a
href="http://groups-beta.google.com/group/microsoft.publi c.dotnet.langua ges.vb/browse_thread/thread/a4ca8746b3de09c 2/3a24082f1501083 0?q=controls+va nishing&rnum=1# 3a24082f1501083 0">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 contains amoung other things a user control. The other
project is for an executable application which uses the user control.

The problem is that the user control will periodically vanish, and my
task list will complain that it can't find the assembly, telling me to
check my references. But the references are fine, and the executable
project has no difficulty seeing non-control classes in the library
project.

The only way I've found to fix this issue is the same one the poster in
the link above mentions: manually delete the code from the
generated-code section, and drop the control back in. Sometimes there
are still odd errors after I do this, and I need to create a new
source-code file, copy the old non-generated code into it, and then add
the control. I have not found a way to prevent it from vanishing in the
first place.

Does anyone have any information on what causes this and how to prevent
it? It's causing a major snag in my development.

Thanks,

Linda
Nov 21 '05 #2
Ah, thank you.

Nov 21 '05 #3

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

Similar topics

2
1316
by: Greg | last post by:
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...
7
1577
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...
4
1518
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...
1
6361
by: e | last post by:
I'm using forms authentication on a site. When the user logs in via the login page, the entered creds are checked against AD, and if valid, an encrypted forms authentication ticket is produced and stored in the forms auth cookie (and written to the client), using this code: ____________________ 'create the forms auth ticket objAuthTicket = New FormsAuthenticationTicket(1, txtUsername.Text, _ DateTime.Now, DateTime.Now.AddMinutes(8),...
0
1089
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.
2
1691
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...
0
1362
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...
2
1412
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";
36
2483
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....
0
8376
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, 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...
0
8815
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, 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...
0
8708
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8594
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7307
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6161
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
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();...
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1596
bsmnconsultancy
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...

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.