Problem initializing tool toolmanager

Aug 1, 2010 at 1:18 PM

Dear All,

I am new to MapWindow and VB.net. I am trying to create an application as given in Developer's corner pdf. I have been able to add the tools in the tools tab. But when i am trying to use any one of the tool, like statistics- calculate area, it is throwing up an error of NullReferenceException.

Can anybody help me get out of this please?

 

Aug 2, 2010 at 2:14 PM
When you are following along with the Developer's Corner PDF, where exactly are you getting the error? Have you just added the mwToolStip and trying to add data to your map? Joe
Aug 3, 2010 at 11:26 AM

Hey Joe,

Thanks for the reply. I solved the problem.

Earlier i did not relate the toolmanager to the legends and hence it was throwing an error. Silly but I learned!!!