>How to make visible = false to menu .. I have ran below code:
>
>me.menuitem2.visible = false
>
>and I met below error message:
>
>an unhandled exception of type 'System.NullReferenceException' occured in test.exe
>
>Additional information:
>
>Object reference not set to an instance of an object
>
>please help .. thanks
>
>Regards
>Winanjaya
The null reference gives sign that the menuitem2 has probably not been created, or has been destroyed.
When are you calling this code?
Brian Seekford
Seekford Solutions, Inc.http://www.SeekfordSolutions.comInternet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!