Digital signature

If you are a VFP developer and have any questions about using our products from VFP here is the place to post them.
Post Reply
Icunune
Posts: 24
Joined: Thu Sep 04 2003

Digital signature

Post by Icunune » Fri May 23 2008

Hi,

I have the latest version of PDF Converter Developer Pro 3.0. I want to add a digital signature into my pdf files with Visual Fox Pro 9.0
I get examples for your forum, but it doesn’t works okey.

I've installed the printer with this command:
run /n1 install.exe -s "Amyuni PDF Converter" -n "UserName" -c "license code"

I've registered the all libraries of pdf

First example:

pdfdoc=CREATEOBJECT("CDIntfEx.Document")
pdfdoc.SetLicenseKey("Licencia","Activate Code")
lOpen=pdfdoc.open("c:\prueba.pdf")
if lOpen
lAdd=pdfdoc.DigitalSignature ("Entidad","razon firma", "c:\firma.bmp", "Barcelona", -1, 0, 0, 3000, 3000,8)
if lAdd
pdfdoc.Save ("c:\prueba_sign.pdf")
endif
endif

** lAdd variable is False. DigitalSignature return false

Second Example:

CreatorRef = CREATEOBJECT("PDFCreactiveX.PDFCreactiveX")
CreatorRef.SetLicenseKey (Licensee, ActivationCode)
CreatorRef.Open (GETFILE("pdf"), "")
CreatorRef.DigitalSignature ("Fernando Puyuelo Ossorio", "Signature", "", "MAdrid", "1", 500, 400, 300, 300, 1+2+4+8+64)
CreatorRef.Save ("SignedDocument.pdf", 0)

The DigitalSignature function returns “Denied Access” message error


Can you tell me some solution?

Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Digital signature

Post by Joan » Mon May 26 2008

Hello,

Please don't cross post your questions.

I replied to your post in the PDF Converter forum.

Thanks and have a nice day 8)
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark

Post Reply