Working with the Web Browser Control

  • Thread starter Thread starter Nate
  • Start date Start date
N

Nate

Does anyone know how to set focus to a web browser control so you can use
the command sendkey "{TAB}" and take within the web page itself.

webbrowser1.focus

doesn't seem to work.
I need to be able to click on a button on a web page.
 
webbrowser1.focus works OK for me, but doing this and using sendkey is a bad
idea, as you can lose focus and sendkey sends to the current application,
not the one that it is in so you have all sorts of problems.

You can do almost anything you want with a webpage directly with
webbrowser1.document
 
Back
Top