S
Steve B.
Can someone tell me why when my ppt presentation opens and I try to save my
work to the original ppt presentation a Save As window pops up? Happens on
all ppt presentations. I've tried readOnly parameter both as msoTrue and
msoFalse - same result.
Steve
***************************
some Method()
{
Microsoft.Office.Core.MsoTriState readOnly = ...msoFalse;
pptFileName = "fileName.ppt"; //global for ppt events
openPowerPointPresentation(readOnly);
}
openPowerPointPresentation(....MsoTriState readOnly)
{
Microsoft.Office.Interop.PowerPoint.Application objApp = null;
objApp = new Microsoft.Office.Interop.PowerPoint.Application();
objApp.Visible = Microsoft.Office.Core.MsoTriState.msoTrue;
//I've tried true/false on both
....MsoTriState untitled = ...msoTrue;
....MsoTriState withWindow = ...msoTrue;
....Presentation objPres = null;
objPres = objApp.Presentations.Open(this.pptFileName, readOnly, untitled,
withWindow);
objApp.Activate();
}
work to the original ppt presentation a Save As window pops up? Happens on
all ppt presentations. I've tried readOnly parameter both as msoTrue and
msoFalse - same result.
Steve
***************************
some Method()
{
Microsoft.Office.Core.MsoTriState readOnly = ...msoFalse;
pptFileName = "fileName.ppt"; //global for ppt events
openPowerPointPresentation(readOnly);
}
openPowerPointPresentation(....MsoTriState readOnly)
{
Microsoft.Office.Interop.PowerPoint.Application objApp = null;
objApp = new Microsoft.Office.Interop.PowerPoint.Application();
objApp.Visible = Microsoft.Office.Core.MsoTriState.msoTrue;
//I've tried true/false on both
....MsoTriState untitled = ...msoTrue;
....MsoTriState withWindow = ...msoTrue;
....Presentation objPres = null;
objPres = objApp.Presentations.Open(this.pptFileName, readOnly, untitled,
withWindow);
objApp.Activate();
}