When I use following line in code for encrypt the PDF file then after closing the form when I want open original file it get the sharing violation.
then I could not open it
How I can Close the file. I am using pdfcreativeX activex control.
Code: Select all
PDF1.Encrypt "owner", "user", &HFFFFFFC0
So Please Help Me.
KamleshGujarathi
kamlesh@itshastra.com
Problem regarding encryption.
-
- Posts: 39
- Joined: Fri Jan 09 2004
- Location: Bombay ( INDIA)
- Contact:
Problem regarding encryption.
Hello,
You need to save the file calling
PDF1.save File Name, option
File Name could be the same file name as the original one or a new name that you choose. Option is an integer equal to 0, 1, or 2 depending on whether you want to save the file in desing and view mode, view mode only or design mode only.
Hope this helps.
You need to save the file calling
PDF1.save File Name, option
File Name could be the same file name as the original one or a new name that you choose. Option is an integer equal to 0, 1, or 2 depending on whether you want to save the file in desing and view mode, view mode only or design mode only.
Hope this helps.