OpeningVB - sindizzy/DSW GitHub Wiki

This code demonstrates how to open an existing shapefile as a new feature set using the DotSpatial.Data library.

Imports System.Windows.Forms
Imports DotSpatial.Data

Private Sub button1_Click(sender As Object, e As EventArgs)
	' Pass in the file path for the standard shapefile that will be opened
        Dim fs As IFeatureSet = FeatureSet.Open("C:\\Temp\\roads.shp")
End Sub