30/12/08 12:11
Rityanel
EDIT: Ragazzi ho risolto il problema, però ho un'altra domanda da farvi. Io vorrei impostare due hotkeys e non 1. Ho usato questo codice per dei comandi:
Public Sub DoKeys()
If GetAsyncKeyState(Keys.F1) Then
Form4.Show()
End If
If GetAsyncKeyState(Keys.F2) Then
MsgBox("ciao")
End If
End Sub
Adesso io vorrei che mi usasse il tasto control + p per aprire quella message box... Grazie in anticipo
Ultima modifica effettuata da Rityanel 30/12/08 15:26
aaa
31/12/08 8:53
Il Totem
Semplicemente devi controllare sia il tasto Ctrl (Keys.Control) sia P.
aaa
02/01/09 18:55
Rityanel
Ok grazie ^^ Per caso il tasto Invio è Enter o Return?
aaa