Re: Tooltip, .ShowDialog(), and .Dispose() on .NET 2.0 generate a NullReferenceException

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks a lot Karen

"Karen Kenworthy" <karenk.at.teddybear.com> wrote in message
news:OFcvsBBiGHA.4040@xxxxxxxxxxxxxxxxxxxxxxx
<< Is this some kind of bug ? >>

Apparently so. There's a new KB article that discusses the subject:

-------------------
SYMPTOMS
You may receive an error message when you try to close a Microsoft Windows
Forms-based application. Consider the following scenario: . A Microsoft
Windows Forms-based application uses ToolTips.
. The application is running on the Microsoft .NET Framework 2.0.
In this scenario, you may receive the following error message when you try
to close the application:
System.NullReferenceException: Object reference not set to an instance of
an object.
--------------------

They advise overriding the form's Dispose method. The suggested code is
in this article:

http://support.microsoft.com/kb/918146/en-us

Or you can ask customer support for a revised copy of
System.windows.forms.dll.

--
Karen Kenworthy
http://www.karenware.com/



.



Relevant Pages

  • Re: Hacker Marketing - Access Denied when I try to delete...
    ... IIS is a web SERVER. ... "Access Denied" Error Message When You Try to Delete a ... Microsoft Windows Advanced Server, Limited Edition ...
    (microsoft.public.inetserver.iis.security)
  • Re: Tooltip, .ShowDialog(), and .Dispose() on .NET 2.0 generate a NullReferenceException
    ... You may receive an error message when you try to close a Microsoft Windows ... Object reference not set to an instance of an ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Exchange not creating users
    ... Base research on your error message, I suggest we try the following steps: ... Please install latest updates and service packs on your Exchange ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Critical Microsoft Security Bulletin - MS04-004
    ... - Microsoft Windows NTŪ Workstation 4.0 Service Pack 6a ... - Internet Explorer 6 for Windows Server 2003 ... IMPACT OF VULNERABILITY: Remote Code Execution ...
    (microsoft.public.windows.mediacenter)
  • Neue SIcherheitsbulletins und Patches
    ... Critical MS06-057 Microsoft Windows Remote Code Execution ... Critical MS06-058 Microsoft Office Remote Code Execution ... Critical MS06-061 Microsoft Windows or Office Remote Code Execution ... Impact of Vulnerability: Information Disclosure ...
    (microsoft.public.de.german.visio)