T
Tomasz Jastrzebski
Hello everybody,
How do I eliminate write/write password popup when opening document?
In code I set DisplayAlerts=ppAlertsNone and specify ReadOnly property in
the Presentations.Open() method but the popup prompth still shows up. Is it
a bug? I am using PowerPoint 2003 SP1.
Thank you for any hints.
Tomasz
Sample code:
Imports PPT = Microsoft.Office.Interop.PowerPoint
Dim application As PPT.Application
application = New PPT.Application
application.DisplayAlerts = PPT.PpAlertLevel.ppAlertsNone
Dim presentation As PPT.Presentation =
_application.Presentations.Open(filePath, _
WithWindow:=Microsoft.Office.Core.MsoTriState.msoFalse,
ReadOnly:=Microsoft.Office.Core.MsoTriState.msoTrue)
How do I eliminate write/write password popup when opening document?
In code I set DisplayAlerts=ppAlertsNone and specify ReadOnly property in
the Presentations.Open() method but the popup prompth still shows up. Is it
a bug? I am using PowerPoint 2003 SP1.
Thank you for any hints.
Tomasz
Sample code:
Imports PPT = Microsoft.Office.Interop.PowerPoint
Dim application As PPT.Application
application = New PPT.Application
application.DisplayAlerts = PPT.PpAlertLevel.ppAlertsNone
Dim presentation As PPT.Presentation =
_application.Presentations.Open(filePath, _
WithWindow:=Microsoft.Office.Core.MsoTriState.msoFalse,
ReadOnly:=Microsoft.Office.Core.MsoTriState.msoTrue)