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!!