Edit: if GetAsyncKeyState(Codice Tasto) <> 0 Then...