Help with Accessing Shapefile in ArcObjects Dialog Box

409
1
12-05-2013 11:34 AM
MichelleCouden1
Occasional Contributor III
I wrote a program awhile back accessing a map document when the command Map button was clicked. I was wondering the commands to use for accessing a shapefile when the command Map button is clicked. For Example, for the document it is
Dim pDoc as IDocument
Dim pApp As IApplication
Set pDoc = New MxDocument
Set pApp = pDoc.Parent

Please help. Thanks!!
0 Kudos
1 Reply
DuncanHornby
MVP Notable Contributor
Are you asking to access a shapefile that is already loaded in the map document or as direct access to a dataset on some hard drive somewhere?
0 Kudos