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

Problem with inherited controls

P: n/a
I created and am using, an inherited control on my form. But in switching
between design and code views, the IDE is screwing up the instances'
declarations. Sometimes, everything is fine. But as often, the IDE adds
the project name in front of the control name in the declaration and then
decides the line is invalid. Occasionally, the IDE also deletes the
initialization code for the control.

Specifically, what's happening is that in the "Windows Form Designer
generated code" region, the IDE is changing the line:
Me.TitleLabel = New MyInheritedLabel
to
Me.TitleLabel = New MyTestProject.MyInheritedLabel

I'm using VS 2003 (VB.NET). Is this a known bug? Anyone know of any work
arounds or fix(es)?

Thanks in advance,

Richard Rosenheim
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.