hello

i have a problem when i try to get the webbrowser's hwnd within my form

Code:
Private Sub Form_Load()
Dim x As Long
x = WebBrowser1.hWnd
End Sub
it tells me
runtimererror
Method 'HWND' of object 'IWebBrowser2' failed

So please can someone help me to get the hwnd of the webbrowser control?

thanx
Adel