October 28, 2025, 07:27:54 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Get Windows System Language

Started by ExMember001, January 01, 2009, 12:50:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ExMember001

Hi there!
Here is a little subroutine to get the language of the user system

Happy New Year!!!!



'use latest sapero api headers file
$INCLUDE "windowssdk.inc"

MESSAGEBOX 0,GetWinLanguage(),"Your system is using this language:"

DO:UNTIL INKEY$ <> ""
END

Sub GetWinLanguage(),string
    string buffer
    VerLanguageName(GetSystemDefaultLangID(),buffer,100)
    return buffer
endsub