Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

API Call to Windows Regional Settings in Control Panel 2

Status
Not open for further replies.

pt777

Technical User
Mar 27, 2004
62
US
After lurking a bit on the thread "Install a Font" I wondered:

Might it be feasible to change the "Long Date" setting programatically using API calls. Any wild ideas would certainly be appreciated?

Thanks,

Philip
 
Philip,
You could also change it by altering the registry and notifying Windows that a registry value has changed.

I'd be real careful about doing either of these, because it does affect ALL applications not just yours. Most users set up thier systems the way they want them and don't appreciate programs that "fix" something that isn't really broken. At the very least, make sure your application asks whether it's alright to change this setting and be prepared to deal with an answer of "NO!".

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top