you trying to use object that wasn't intialised with new property
In other words you are trying to execute methods or work with values of null object
This example will produce exactly the same erro
string test = null
test.ToUpper()
In this example you can see that you are trying to call method of object which is null
I get the error too, when I add a context menu to any class in design mode,
then right-click the icon and click "Edit menu". It works okay if the class
being desiged is a form, but not if it is a treeview (which makes it pretty
useless).
you trying to use object that wasn't intialised with new property
In other words you are trying to execute methods or work with values of null object
This example will produce exactly the same erro
string test = null
test.ToUpper()
In this example you can see that you are trying to call method of object which is nul
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.