if I need to work with classes MxDocument with the MapDocument that I have selected to work , for example style gallery, How can I instantiate ?
InitStandalone()
pMapDoc = CreateObject(esriCarto.MapDocument, interface = esriCarto.IMapDocument)
pMapDoc.Open(path)
pApp = GetApp()
pMxDoc = CType(pApp.Document, esriArcMapUI.IMxDocument)
pSG = CType(pMxDoc.StyleGallery, esriDisplay.IStyleGallery)
Can I relate this?