T
TD
I am trying to bring up the PowerPoint Options dialog in our application but
for some reason this doesn't seem to work. It does however work basically
the same way for both Word and Excel. Does anyone know if this is supported
for PowerPoint? The problem seems to be at the call to pApp->GetDialogs();
which is throwing an exception of E_NOINTERFACE.
PowerPoint::_PresentationPtr pDoc =
(PowerPoint::_PresentationPtr)pCurrentDoc->GetDocPtr();
PowerPoint::_ApplicationPtr pApp = pDoc->GetApplication();
PowerPoint:PDialogsPtr dlgs = pApp->GetDialogs();
PowerPoint:PDialogPtr dlg = dlgs->Item(PowerPoint:pDialogStandard);
for some reason this doesn't seem to work. It does however work basically
the same way for both Word and Excel. Does anyone know if this is supported
for PowerPoint? The problem seems to be at the call to pApp->GetDialogs();
which is throwing an exception of E_NOINTERFACE.
PowerPoint::_PresentationPtr pDoc =
(PowerPoint::_PresentationPtr)pCurrentDoc->GetDocPtr();
PowerPoint::_ApplicationPtr pApp = pDoc->GetApplication();
PowerPoint:PDialogsPtr dlgs = pApp->GetDialogs();
PowerPoint:PDialogPtr dlg = dlgs->Item(PowerPoint:pDialogStandard);