jpeg0499
Feb 28th, 2001, 08:01 AM
Hello Everyone!
I have a PDF file being opened in a OCX control in one of my forms, and it requires a password before it can be opened. However, I do not want the user to enter the password. Right now, I have my program set up to watch for the "Password" window, and then it sets the focus on it, and generates the password entry with simulated keystrokes. However, I would like to know if this is the best method. Part of the problem is that someone can run a key logger and get the password, and another problem is if a key is being held down while my program enters the password. Any ideas around any of these "problems" would be greatly appreciated. Thanks in advance!
Jeremy Lounds
I have a PDF file being opened in a OCX control in one of my forms, and it requires a password before it can be opened. However, I do not want the user to enter the password. Right now, I have my program set up to watch for the "Password" window, and then it sets the focus on it, and generates the password entry with simulated keystrokes. However, I would like to know if this is the best method. Part of the problem is that someone can run a key logger and get the password, and another problem is if a key is being held down while my program enters the password. Any ideas around any of these "problems" would be greatly appreciated. Thanks in advance!
Jeremy Lounds