M
Magnus Lindberg
It seems that every now and then, totally at random, Inherited forms stop
working in design mode. Once they stop working, I can never get them to work
again. When I try to show the form in design mode it says "An exception
occurred while trying to create an instance of MyClassName. The exception
was "Specified cast is not valid."".
The form compiles just fine and everything works well except for this error
message which leads me to belive that Visual Studio.NET is more to blame
than me. ; p.
I have tried to delete the resx file and have it recreated but that doesn't
get me any closer to a solution.
Is this a known bug? Are there any workarounds or do you have any ideas as
to what I should do to resolve this annoyance?
Thanks,
Magnus
working in design mode. Once they stop working, I can never get them to work
again. When I try to show the form in design mode it says "An exception
occurred while trying to create an instance of MyClassName. The exception
was "Specified cast is not valid."".
The form compiles just fine and everything works well except for this error
message which leads me to belive that Visual Studio.NET is more to blame
than me. ; p.
I have tried to delete the resx file and have it recreated but that doesn't
get me any closer to a solution.
Is this a known bug? Are there any workarounds or do you have any ideas as
to what I should do to resolve this annoyance?
Thanks,
Magnus