Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

member not found error and user control disappears

Posted on 2004-08-19
9
Medium Priority
?
274 Views
Last Modified: 2010-05-18
I have made a user control containing a text box with modified behavior It is contained in a groupbox. Without any warning (after compiling correctly the previous time) I get a 'member not found' warning in the task list of VS.Net 2003 and the user control disappears from the form designer. But the code related to it is still present in the form's code!
What is causing this bug??
0
Comment
Question by:AndreSteffens
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
9 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 11848590
Sounds like something that happened to me.  I never did find out what caused it.  Whenever it happend, I just created a new project and copied everything over.
0
 
LVL 4

Author Comment

by:AndreSteffens
ID: 11849329
I am afraid I already did that: I made a new form, Selected all Controls, copied and pasted, copied all user made code, hooked up the events again.... no luck. Since my Usercontrol only consisted of one textbox, I subclassed a textbox proper and copied the methods and properties from myUserControl.TextBox to mySubclassedTextBox... same result
0
 
LVL 21

Accepted Solution

by:
tovvenki earned 2000 total points
ID: 11850142
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 4

Author Comment

by:AndreSteffens
ID: 11852166
Thanks, one of these articles should provide the clue. I will be back later...
0
 
LVL 4

Author Comment

by:AndreSteffens
ID: 11859952
Hmmm,

This one hell of a slippery bug... I checked and doublechecked for constructor Exceptions and they aren't there. I moved the project containing the UserControl outside the solution in which the form is present, but the bug persists. The only workaround is to open the form designer as little as possible, because as soon as I open it the UserControl disappears. I am currently awaiting the patch from Microsoft.
0
 
LVL 4

Author Comment

by:AndreSteffens
ID: 11878952
(emerging from between broken doors through slamming them shut, and peering through the cracked surface of my smashed in monitor)
This bug is ...inconvenient. None of the suggestions work, the micrsoft hotfix least of all. On another form the Control does not give any problems. But on my main GUI on which the Control resides inside a groupbox it disappears every time the designer is opened with the message: 'member not found'. I suppose the bug is located in the groupbox then and I will move the UserControl out of it. I am going to test this for a few more days before giving out points...
0
 
LVL 4

Author Comment

by:AndreSteffens
ID: 12097440
Whoa time flies :-)

I am still testing and I would like to comment some further. Moreover towenki does deserve some credit for the useful links he provided.
Hope I didn't upset anyone too overly much?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question