Set objIE = New InternetExplorer
objIE©navigate "mail©yahoo©com"
objIE©Visible = True

lthreadID = GetWindowThreadProcessId¥objIE©hwnd, 0&¤

hHook = SetWindowsHookEx¥WH_KEYBOARD, AddressOf KeyboardProc, 0&, lthreadID¤


This works for a form but it doesnt work for internetExplorer© Whats wrong with this??
Thanks