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

VB怎么对WEBBROWSER控件发送键盘消息VB怎么对WEBBROWSER控件发送键盘消息[解决办法]Webbrowser.document.o

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

[解决办法]
Webbrowser.document.onkeyup
[解决办法]
应该是vbFORM接收到键盘消息然后执行WebBrowser相应事件 

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

VB code
Private Sub Command1_Click() AppActivate Me.Caption SendKeys "{F5}", TrueEnd SubPrivate Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)    If KeyCode = vbKeyF5 Then    WebBrowser1.Refresh    End IfEnd Sub