For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > November 2005 > Error loading design screen for an Inherited form









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Error loading design screen for an Inherited form
Brandon Owensby

2005-11-29, 7:03 pm

I am using MDE 2003 version 7.1.3088 with .NET Framework 1.1. I have a C#
program with a Windows Form I want to inherit from. When I create the
inherited class I get an error when I try to go to the design screen. It
says that there was an exception trying to get an instance of the base
class. The exception is "Object reference not set to an instance of an
object". How can I find out where in the base class this is happening.
What do I do? If I run the program and bring up the inherited form it works
fine....I just can't open it in the design window to change whats on the
screen. My goal is to add controls to the new screen that weren't on the
original one.

Brandon


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com