Problem with UserControl in Visual Studio 2003

  • Thread starter Thread starter schaf
  • Start date Start date
S

schaf

Hi NG!
I have a problem with the Visual Studio 2003 and my source code. When
I open my form, which contains a user control (derived from another
user control), and I change the size of a control in this form, the
designer deletes source code in my form. Additional I get the
following messages in the task list:

1.) An exception occurred while trying to create an instance of XYZ.
The exception was "Object reference not set to an instance of an
object.".

2.) The variable 'xyz' is either undeclared or was never assigned.

So It seems to be the problem described in the KB842706:
http://support.microsoft.com/?kbid=842706

Do you have hints about the issue? I have seen that the hotfix did not
help to solve the problem for some users.
What's the experience with this hotfix?

Thanks for hints
Regrads
Marcel
 
Hi All!
I could solve the problem!
The user control raised an exception in the constructor. So it was my
fault!

Thanks and Regards
 
Back
Top