PowerPoint Encryption

  • Thread starter Thread starter Sudumeedum
  • Start date Start date
S

Sudumeedum

Hi,
I am going to Encrypt the powerPoint application.here are the coding i am
using.

PowerPoint.ApplicationClass powerPoint = new PowerPoint.ApplicationClass();

PowerPoint.Presentation presentattion =
powerPoint.Presentations.Open(localfileName, MsoTriState.msoFalse,
MsoTriState.msoTrue, MsoTriState.msoFalse);


switch (permType)



case PermissionLevel.SaveOnly:

presentattion.Permission.Add(email,MsoPermission.msoPermissionSave,
missing);


break;



case PermissionLevel.ViewOnly:

presentattion.Permission.Add(email,MsoPermission.msoPermissionRead,
missing);


break;





case PermissionLevel.PrintOnly:

presentattion.Permission.Add(email,MsoPermission.msoPermissionPrint,
missing);


break;



presentattion.Save();

powerPoint.Quit();


when saving the document it raised error

Error : Presentation (unknown member) : PowerPoint was unable to open or
save this document. Please ensure that you have access privileges to read or
write the document and that it is not encrypted.
Anyone have idea to fix this eroor. I doubled cheked about privilages to
read and write for the user. this error is not occuring when appling
permissions to word and excel file

}
 
Hi,
I am going to Encrypt the powerPoint application.

Fist you should fix your newsreader as it seems to send duplicate messages
with slightly different subject lines...

(I really don't think you are going to encrypt the PPT application.)
 
Matti Vuori said:
Fist you should fix your newsreader as it seems to send duplicate messages
with slightly different subject lines...

(I really don't think you are going to encrypt the PPT application.)


I am going to apply RMS permission to PowerPoint application.sorry for using
wrong words. Can you help me regarding this please?
 
Back
Top