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 PrivateSub button1_Click(sender AsObject, e As EventArgs) ' Pass in the file path for the standard shapefile that will be openedDim fs As IFeatureSet = FeatureSet.Open("C:\\Temp\\roads.shp") EndSub