Error Message
-
hi, i have a windows application. in load event of my form i retrieve data from " Microsoft Access" database. when i build or run form,i see several Error MessageBox with this content : "object reference not set to an instance of an object ". after that i submit these,Program Runs Successfully!! what is my problem? thanks
-
hi, i have a windows application. in load event of my form i retrieve data from " Microsoft Access" database. when i build or run form,i see several Error MessageBox with this content : "object reference not set to an instance of an object ". after that i submit these,Program Runs Successfully!! what is my problem? thanks
Your main problem appears to be that you can't decide what account to post with, or what language you're using. Or did a different user just happen to post the exact same question in the C# forum ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Your main problem appears to be that you can't decide what account to post with, or what language you're using. Or did a different user just happen to post the exact same question in the C# forum ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Dear Christian Graus I am programmer with both C# and VB It happened many times ,i Asked my problem in both C# and VB forums and i accept my answer in only one of theme. Thanks
That message means you tried to set a property or call a method on a class that wasn't instantiated. The most common cause is that you assumed you'd get back an object from some kind of query, but instead, you got back Nothing and tried to use it or make some modification to it.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
That message means you tried to set a property or call a method on a class that wasn't instantiated. The most common cause is that you assumed you'd get back an object from some kind of query, but instead, you got back Nothing and tried to use it or make some modification to it.
Dave Kreskowiak Microsoft MVP - Visual Basic