object reference not set to an instance of an object

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
 
G

Guest

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top