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

Vanishing User Controls

P: n/a
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#3a240 82f15010830">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
Share this Question
Share on Google+
2 Replies


P: n/a
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.harvard.edu> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
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#3a240 82f15010830">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

P: n/a
Ah, thank you.

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.