Problem regarding encryption.

If you are a VB developer and have questions about using our products from VB, here is the place to post them.
Post Reply
kamleshvgujarathi
Posts: 39
Joined: Fri Jan 09 2004
Location: Bombay ( INDIA)
Contact:

Problem regarding encryption.

Post by kamleshvgujarathi »

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.


:roll:
KamleshGujarathi
kamlesh@itshastra.com
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

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.
Post Reply