How to adapt my code to decrease user interaction?
Posted on 2004-10-30
Hi guys! I wrote this small app which launches Internet Explorer in the FormCreate Event after which a button press fills in several fields and clicks a button to login to some site. So far so good.
Now I'd like to have this app launch IE > do the button click > and close itself all by just running the application. (doubleclicking)
Now I've tried several scenario's but all of which were unsuccesful, I implemented some naps (sleep command) but I can't get this done.
Currently: Running the app > launches the desired IE Window
Clicking the button > logs in automatically
Closing the app > kills the app
Desired: Running the app > launches the desired IE Window > logs in > kills the app
How do I accomplish this 'behaviour'?
If you need to see my code please let me know!
My regards and max respect to all of you guys!!!
PeterdeB from Holland
Ps I can't figure out how to get this baby going and after a few hours of experimenting I gave up. Please provide working sample or assist in adapting my code.