object reference not set to an instance of an object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I got the message of "object reference not set to an instance of an object" when I click on the View Designer. The form is inherited as below. Can someone please help?

public class frmShf : PME.frmCal

Regards,
Vivian
 
Are you calling the base class constructor?

When doing inherited forms use the Visual Studio Inherited Form creator by right-clicking on the project and choosing "Inherited Form...". If you have the form in this project it's ok, otherwise you will have to browse for the assembly that exposes it...
 
Back
Top