Giving Ctrl + f in webbrowser by code

Asked

Viewed 60 times

1

They know some way to give Ctrl + f something by the code in an instance of Webbrowser?

1 answer

0

The class Sendkeys can be used to send key combinations to the application in the foreground.

To send Ctrl + f use:

SendKeys.Send("^f");
  • 1

    Thanks, I’ll try later and see what :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.