Navigates to the specified URL and selects the specified text.
Syntax
HRESULT NavigateAndFind( BSTR URL, BSTR strQuery, VARIANT *varTargetFrame );
Parameters
- URL
- String value that contains the URL to navigate to.
- strQuery
- String value that contains the specified text to select.
- varTargetFrame
- Address of a VARIANT that contains the name of the target frame.
Return Value
Returns S_OK if successful, or an error code otherwise.