P
Paul S. Natanson
What is a Null Reference error and how do I fix it?
My newly installed VB.Net2003 gives me a "Microsoft
Development Environment" error message box EVERY time I
try to run/start ANY project - even very simple ones.
The error says:
"An unhandled exception of
type 'System.NullReferenceException' occurred in
system.windows.forms.dll. Additional information: Object
reference not set to an instance of an object."
As best I can determine from the debugger and the help
screens, the error has something to do with de-referencing
the form. But I don't even know what that means.
This happens even when I open a project that contains
nothing more than an empty form. And reinstalling
VB.NET2003Standard did not solve the problem.
What does this error mean? What might be causing it? And
how do I fix it?
Because I doubt that I will ever be able to find this
bulletin board / news group again, I would be most
grateful if, after posting your reply here, you would also
please send it to me in an email. My email address is
(e-mail address removed) with the xxx's removed.
Thanks, Paul S. Natanson (Phone 1-908-630-0406 9 AM - 9
PM eastern USA time) (e-mail address removed)
(remove xxxx's from email address). December 22, 2003
My newly installed VB.Net2003 gives me a "Microsoft
Development Environment" error message box EVERY time I
try to run/start ANY project - even very simple ones.
The error says:
"An unhandled exception of
type 'System.NullReferenceException' occurred in
system.windows.forms.dll. Additional information: Object
reference not set to an instance of an object."
As best I can determine from the debugger and the help
screens, the error has something to do with de-referencing
the form. But I don't even know what that means.
This happens even when I open a project that contains
nothing more than an empty form. And reinstalling
VB.NET2003Standard did not solve the problem.
What does this error mean? What might be causing it? And
how do I fix it?
Because I doubt that I will ever be able to find this
bulletin board / news group again, I would be most
grateful if, after posting your reply here, you would also
please send it to me in an email. My email address is
(e-mail address removed) with the xxx's removed.
Thanks, Paul S. Natanson (Phone 1-908-630-0406 9 AM - 9
PM eastern USA time) (e-mail address removed)
(remove xxxx's from email address). December 22, 2003