by rhahn » Fri Mar 04, 2011 2:06 am
I was able to get close to what I want using the status id's 201 202 to tell the difference between a blank pw and a wrong pw. I set up my form to send a blank pw if cancel was pressed and if the user entered a blank pw i returned a vbcrlf as a placeholder so it would come back as bad rather than canceled. I get the GdPicturePro5 msgbox "Invalid password." which is annoying if cancel is pressed.
A very nice improvement would be to have all of the management pushed to the application if PDFShowDialogForPassword = false . Also, a function to test whether or not a PDF is pw protected and with what method would be nice.