Copy link to clipboard
Copied
Hi guys, I use VB.NET
I have a question to ask you!
I use iTextSharp library, with which I enter the password for each pdf file needed by my little project.
The number of pdf files increases for some actions / functions of the aforementioned project.
Passwords reside in a DB table, so they are known and known.
Now I ask, is it possible to open these pdf files from a code in a webbrowser (with a construct that contains the password), without having to enter it from time to time?
I use this code: WebBrowser1.navigate (path_e_namefile.pdf & #password: "xyz" #) but nothing happens.
All this in order to avoid that annoying password request when opening these files.
Obviously, if I manually enter the password, this pdf file is normally opened inside the webbrowser.
Could someone help me or give me directions on how to orient myself?
Thanks Infinte
CarloRaffaele
Copy link to clipboard
Copied
>I use VB.NET
If that means you are not using an Adobe program, such as Acrobat or Reader, you need to ask in a forum for the product you are using
Copy link to clipboard
Copied
AcrobatReaderDC
Copy link to clipboard
Copied
Reader has no COM API that allows a password to be used for either local or web files.