You need the API call SetThreadLocale -
VB Code:
Public Declare Function SetThreadLocale Lib "kernel32" (ByVal Locale As Long) As Long
i.e. to set it to US English:
VB Code:
Call SetThreadLocale(1003)
The attached code demonstartes this and all the other keyboard/locale related functions
HTH,
Duncan




Reply With Quote