Internet Development

Moderators: None (Apply to moderate this forum)
Number of threads: 1020
Number of posts: 1885

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Enter Network Password --- Workaround???? Posted by SuperChrisJ on 5 Dec 2002 at 7:19 AM
Does anyone know a way around the Network Password window that pops up when accessing a domain? I have a valid user name and password that autofills, but I still have to physically click the OK button. I'm trying to build an auto-pull script that will download a site multiple times a day, and don't want it to require any human interaction.
Report
Re: Enter Network Password --- Workaround???? Posted by SuperChrisJ on 12 Dec 2002 at 1:33 PM
: Does anyone know a way around the Network Password window that pops up when accessing a domain? I have a valid user name and password that autofills, but I still have to physically click the OK button. I'm trying to build an auto-pull script that will download a site multiple times a day, and don't want it to require any human interaction.
:
For those who may read my message here, I have found a solution and have successfully implemented it. Using Visual Basic I created a separate exe and called it from the main program. In the second exe I used the FindWindow API function to get the handle for the password window. I then used the SendInput API function to simulate the "Enter" key being pressed. Since the user name and password are saved to my password list by default, they did not need to be entered. This solution works for now, but if anyone knows a better way to do it, please let me know. Thank you.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.