I wanted to use sendmessage in VB.net
with following declaration
<DllImport("user32.dll", CharSet:=CharSet.Auto)> _
Public Shared Function SendMessage( _
ByVal handle As IntPtr, _
ByVal message As Integer, _
ByVal wParam As IntPtr, _
ByVal lParam As String _
 

As Integer
end function
But I am not getting the required text but I am getting windows text.
Actually I am trying to get user typed URL from the address bar of IE.
But the functions returns IE windows text
Could any one suggest me how to solve this problem