Olá,
Estou tentando colocar no evento OnKeyPress do form do navegador que estou tentando fazer para que quando for pressionado a tecla F5, ele atualiza a página, já tentei desta forma:
Private Sub Form_KeyPress(KeyAscii As Integer)
If KeyAscii = 68 Then
WebBrowser1.Refresh
End If
End Sub
e também desta:
Private Sub Form_KeyPress(KeyAscii As Integer)
If VbKeyF5 Then
WebBrowser1.Refresh
End If
End Sub
mas nenhuma das duas funcionou, alguém saberia me dizer como é o correto?
Agradecido,
Rafael Portal