Send Keys

A

a

Dear friends

I have web browser control on access 2003 form

I have this code



Private Sub Command8_Click()

DoCmd.GoToControl "ocxBrowser"

SendKeys "Text you can search in Google but it here"

SendKeys "{Enter}"

End sub



I'm using web browser control to open google home page I want the above code
goto the google home page and send this value and run the search

My problem



Why this code not work

The value go to the search text box but not execute the search

The Enter key not affect

Is there any trouble in web browser control prevent send key {Enter} to work



Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top