Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

member not found error and user control disappears

Posted on 2004-08-19
9
Medium Priority
?
275 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
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

916 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