Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the date format
Message
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Fonctions API de Windows
Titre:
Changing the date format
Divers
Thread ID:
00137762
Message ID:
00137762
Vues:
73
I want to change the date format of the registry in one of my application (executing on W95).

I use the GetProfileString API function to retrieve the actual format and then the WriteProfileString("INTL", "sShortDate", "DD-MM-YY") to write this format.

After that line of code, if I read the WIN.INI file, I can see that the settings are changed but if I open the Control Panel (Regional Settings) the change is not done.

How can I APPLY the changes?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform