Im trying to focus
on the combobox to type in
a webaddress and go there..

The Classnames are..

ieframe
rebarwindow32
combobox
edit

I tried to get focused on rebarwindow32
but it would do it.. what am I doing wrong??

Is there a easier way??

The code im using..

------

Dim hwnd As Long
Dim Bar As Long
hwnd& = FindWindow("ieframe", vbNullString)
Bar& = FindWindowEx(hwnd&, 0&, "rebarwindow32", vbNullString)
If Bar = 0 Then
MsgBox "Couldnt Find ComboBox."
End
Else
MsgBox "Found IT!."
End
End If

------

Help?