Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the date format
Message
 
To
All
General information
Forum:
Visual Basic
Category:
Windows API functions
Title:
Changing the date format
Miscellaneous
Thread ID:
00137762
Message ID:
00137762
Views:
71
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
Next
Reply
Map
View

Click here to load this message in the networking platform