by Raghu (22 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 4th July 2001
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Code to Display the Keyboard Layout
API Declarations
Dim KL As String
Dim KLen as Long
KL = String(255,Chr(0))
KLen = Len(KL)
GetKeyboardLayout KL
MsgBox Left(KL,KLEN)
End Sub