M
miztaken
Hi there,
I dont know if this the right forum to ask this question or not? If
not, please guide me through.
If yes,
I need to supply password to PPT file progrmatically.
I am using Office Interop and .NET 2.0 (C#)
I am coding like this:
ApplicationClass appPowerPoint = new ApplicationClass();
Presentation presentation =
appPowerPoint.Presentations.Open(FileName,
Microsoft.Office.Core.MsoTriState.msoCTrue,
Microsoft.Office.Core.MsoTriState.msoCTrue,
Microsoft.Office.Core.MsoTriState.msoCTrue);
As you can see Presentations.Open dont have any argument where i can
input password.
For word and excel password input argument is available but i cant
find that for PPT.
I do know there is presentation.Password variable, but we can use
this
only after PPT is opened?
So can anybody help me figure out what am i missing?
Thank You
miztaken
I dont know if this the right forum to ask this question or not? If
not, please guide me through.
If yes,
I need to supply password to PPT file progrmatically.
I am using Office Interop and .NET 2.0 (C#)
I am coding like this:
ApplicationClass appPowerPoint = new ApplicationClass();
Presentation presentation =
appPowerPoint.Presentations.Open(FileName,
Microsoft.Office.Core.MsoTriState.msoCTrue,
Microsoft.Office.Core.MsoTriState.msoCTrue,
Microsoft.Office.Core.MsoTriState.msoCTrue);
As you can see Presentations.Open dont have any argument where i can
input password.
For word and excel password input argument is available but i cant
find that for PPT.
I do know there is presentation.Password variable, but we can use
this
only after PPT is opened?
So can anybody help me figure out what am i missing?
Thank You
miztaken