SendMessage function to send text
<p>I have a form and on the form I have a web browser and currently opened google.com on  it. </p>

<p>Cursor is already focused on the search window. 
I have been trying to SEND search Text to WebBrowser control using <code>SendMessage</code> but not working. Current code.</p>

<pre><code>Const WM_SETTEXT As Integer = &amp;HC

Dim hdle As IntPtr = WebBrowser1.Handle

SendMessage(hdle, WM_SETTEXT, 0, "test")
</code></pre>

<p>Why it's not sending text to google focused search tab ? How do I solve this ?</p>

<p>P.S : I don't want to use SendKeys or HTML method to SetText. I want to use Handler only.</p>