Hey, ik ben bezig met hotkeys, maar telkens als ik een hotkey maak krijg ik deze error:
Unable to find an entry point named GetASyncKeyState in DLL user32.
Mijn code is:
weet iemand hoe je dit fixt?
Unable to find an entry point named GetASyncKeyState in DLL user32.
Mijn code is:
Public Class Form1
Private Declare Function GetASyncKeyState Lib "user32" (ByVal Vkey As Long) As Integer
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Dim hotkey As Boolean
hotkey = GetASyncKeyState(Keys.F10)
If hotkey = True Then
MsgBox("Je hebt op F10 gedrukt en een MsgBox geopend.")
End If
End Sub
End Class weet iemand hoe je dit fixt?
