Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
VB
Dim result As Integer
  Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
   Private Declare Function GetAnyncKeySync Lib "user32" (ByVal vKey As Long) As Integer
Posted

1 solution

You can use the site http://www.pinvoke.net[^].

On this site, RAW Windows API is already written for you in the form of P/Invoke, for C# and VB.NET.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900