Tutorial 5 Error

Aug 4, 2013 at 3:49 PM
Hi - I'm new to DotSpatial and VB.NET. I am a big-time user of VB6. I want to include better GIS functions like Projection conversions. It looks like VB.NET is the way to go. I am working my way through the Tutorials.

I need help. I've followed the instructions for Tutorial 5 and can't get it to run.

In design mode, in the button click method for btnLoadShapeFile_Click
For the line:
featureSet1.Open(fileDialog.FileName)
I get this warning:
Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.

When I run it -
For the line:
featureSet1.Reproject(Map1.Projection)
I get this error for Map1
Object reference not set to an instance of an object.

My code is here:
http://www.upstatebridge.com/ProjectionComp.zip