Cmitch
asked on
Remove Password from Powerpoint Files via Microsoft.Office.Interop.PowerPoint
Using Microsoft.Office.Interop.P owerPoint does anyone know how to remove a password from a presentation.
Do you know what the password is??
ASKER
Yes I do know what the password is and know of the password property that can be updated. However how can I open the presentation with password? Currently I can use the 'open' function to open the presentation, however I am then prompted via pop-up to provide the password.
Is there a way to open the presentation by supplying all the information required and therefore have no user interaction
Is there a way to open the presentation by supplying all the information required and therefore have no user interaction
appPowerPoint.Presentations.Open(strFilename, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse)
.
This is for vba but it works here in 2010 when there are Open and modify passwords
http://officeone.mvps.org/openppt/index.html
http://officeone.mvps.org/openppt/index.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is it possible to Add an additional Handler to the PowerPoint event after the presentation is opened and prompted for the password? Or is there another method where I can 'SendKeys' and provide the required password?
http://msdn.microsoft.com/en-us/library/microsoft.office.interop.powerpoint._presentation.password.aspx