Information générale
Catégorie:
Fonctions API de Windows
Titre:
SetLocaleInfo API call from VB
Hi all,
I'm trying to figure out how to use the SetLocaleInfo() API function from VB to change language settings from within my app. For instance, I have a form containing the Microsoft Calendar control version 8, plus several command buttons to select different languages. I would like this command button to call the SetLocaleInfo() function so that the language-specific information (for instance, days of the week) on the calendar control gets updated to that language.
Anyone kbnow how this is done? Ther doesn't seem to be a native VB function to change locale settings on the fly (and I'm not even sure the SetLocaleInfo function will do this in real time either, without forcing a reboot).
Thanks,
Darren
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement