>The first two lines of code below work fine. I am not sure why the displayed website is not being selected by the CTRL A. Have I blundered?
>
>THIS._Webbrowser41.NAVIGATE2('http://www.google.com')
>
>THISFORM.REFRESH
>
>KEYBOARD"{CTRL+A}"
Keyboard is internal VFP command. In your case you need to use WSH.SendKeys method instead.
See sample
Controlling other applications from VFP Thread #
1480741 Message #
1480741
If it's not broken, fix it until it is.
My Blog