VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Code to Display the Keyboard Layout

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


Rate Code to Display the Keyboard Layout



    KL = String(255,Chr(0))
    KLen = Len(KL)

    GetKeyboardLayout KL

   MsgBox Left(KL,KLEN)
End Sub



Download this snippet    Add to My Saved Code

Code to Display the Keyboard Layout Comments

No comments have been posted about Code to Display the Keyboard Layout. Why not be the first to post a comment about Code to Display the Keyboard Layout.

Post your comment

Subject:
Message:
0/1000 characters