Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

This is the message I get when I enter the above code...

 

"An unhandled exception of type 'System.NullReferenceException' occurred in NGRCommOps.exe

 

Additional information: Object reference not set to an instance of an object."

 

This is the code I entered to mirror what is aboce.

((fclsMain)this.MdiParent).mnuAdminTool.Checked = false;

 

Thoughts. Any help you can give is appreciated. Am I missing a callout.

  • *Experts*
Posted

Ah; try putting it in the 'Closing' event. I believe that in the 'Closed'

event, the form no longer exists, and therefore cannot be used like

that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...