Auto login to webpage > how to implement an am-i-online-check and is-the-page-loaded-check prior to logging in?
Posted on 2004-11-13
I'm working on a project which involves starting Internet Explorer > jumping to some page > insert a username and pass and click a button after which I'm logged in automatically. Now I ran into some problems regarding the following:
If IE needs some time to load, my program should wait until it has loaded the page it wants to log in to. I managed to achieve that by using a TWebbrowser (documentcomplete) but now I'd like to implement that 'behaviour' into my app without having to use the TWebbrowser. In addition it should detect whether the page is available (suppose internet connection is dead) at all and if not it should pop up a message and close automatically.
Solving these issues will give you the points > a working sample. Let me know whether I should post my code okay?
Regards in advance,