Change regional settings with Access2000

  • Thread starter Thread starter Bernard Van Craeyenest via AccessMonster.com
  • Start date Start date
B

Bernard Van Craeyenest via AccessMonster.com

How can I change the regional settings of Windows 2000 with VBA. I want to
change the settings for the date (DD/MM/JJJJ) and the hour (HH:MM:SS.
 
How can I change the regional settings of Windows 2000 with VBA. I
want to change the settings for the date (DD/MM/JJJJ) and the hour
(HH:MM:SS.

That is a really, really, horrid thing to do to anybody's machine. There
are windows API hooks to do it but I really don't recommend it. People
set their machines up for a reason.

If you want to control the display of dates on a form or report, use the
Format property of the control. That is what it is for. You can indeed
use a format like "dd/mm/yyyy" there; you do not have to use built in
"Long Date" etc.

Hope that helps


Tim F
 
Back
Top