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