Simulate typing (keypresses) into a webbrowser control
I've been fighting with this for a while and am just wondering how the heck to do this...
I have a form with a webbrowser control within it (among other controls) and I would like to have it once the webbrowser navigates to google on the control , that if I wanted to do a search for, say, the term "hot dogs" that I could simulate a user actually typing into the control keystroke by keystroke and with short pauses between each keystroke... Exactly the same way a user would be typing in that search term.
Just to explain my logic, I have a screen-capture attached to it and I want to see google's instant auto-suggestions as I type.
So, what is the code I could use to actually get this effect? - How would I get the phrase to be typed out one letter at a time into the search bar and still have short pauses between each successive letter being entered?
Thanks gurus!