Information générale
Catégorie:
Produits tierce partie
Titre:
Auto password fill-in for Adobe documents
Versions des environnements
Network:
Windows 2008 Server
I am trying to open a password protected pdf document from Visual foxpro dynamically.
I know the password - but I want the application to send the password programmatically without user interface.
Right now I am using this kind of code :
declare INTEGER ShellExecute in shell32 INTEGER handle, STRING @ oper, ;
STRING @ ifile, STRING @ iparam, STRING @ ipath, INTEGER showcmd
lcFileName = "c:\temp\document0.pdf"
=shellexecute(0,"open",lcFileName,"anypassword","c:\",1)
This works fine for normal Pdf documents but the argument "anypassword" doesn't work here. It continues to alert the user to enter a password.
Has anyone tried this?
- Pablo
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement