Private Sub FileSecuritySetupBar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FileSecuritySetupBar.Click If Me.FileSecuritySetupBar.Checked Then Me.FileSecuritySetupBar.Checked = False mmAppDesktop.SecuritySetupMode = False Me.MmMenuExtender.SetMenuSecuritySetup(Me.Menu.MenuItems, False) Else Me.FileSecuritySetupBar.Checked = True mmAppDesktop.SecuritySetupMode = True Me.MmMenuExtender.SetMenuSecuritySetup(Me.Menu.MenuItems, True) End If End SubThe third line of each part of the if statement triggers the error. I do not have anything with the name 'mainMenu' as indicated in the Security tutorial. Replacing mainMenu with Menu compiles but gives the resulting error indicating no instance of the object. I have tried every other menu name that seemed appropriate and tried to instantiate an instance of mainMenu as Menu with the change in name in the above code and that also did not work.