Help with Accessing Shapefile in ArcObjects Dialog Box

Discussion created by MLCouden on Dec 5, 2013
Latest reply on Dec 14, 2013 by Hornbydd
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!!