VB如何对WEBBROWSER控件发送键盘消息

VB怎么对WEBBROWSER控件发送键盘消息
VB怎么对WEBBROWSER控件发送键盘消息

------解决方案--------------------
Webbrowser.document.onkeyup
------解决方案--------------------
应该是vbFORM接收到键盘消息然后执行WebBrowser相应事件 

比如F5 那么对应执行 WebBrowser1.refresh

VB code
Private Sub Command1_Click()
 AppActivate Me.Caption
 SendKeys "{F5}", True
End Sub

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyF5 Then
    WebBrowser1.Refresh
    End If
End Sub