PC Review


Reply
Thread Tools Rate Thread

Change regional settings with Access2000

 
 
Bernard Van Craeyenest via AccessMonster.com
Guest
Posts: n/a
 
      27th May 2005
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.
 
Reply With Quote
 
 
 
 
Tim Ferguson
Guest
Posts: n/a
 
      27th May 2005
"Bernard Van Craeyenest via AccessMonster.com"
<(E-Mail Removed)> wrote in
news:(E-Mail Removed):

>
> 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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW to change regional settings Rulandas Windows XP General 2 16th Aug 2006 12:01 PM
How to change the default Regional Settings =?Utf-8?B?UmljaGFyZA==?= Microsoft Windows 2000 2 11th Feb 2005 03:09 PM
Regional settings will not change =?Utf-8?B?RGFtaWFu?= Windows XP General 5 3rd Jan 2005 04:50 PM
Regional Settings change from UK to USA =?Utf-8?B?UGV0ZXIgS25hcHA=?= Microsoft Windows 2000 Terminal Server Clients 0 23rd May 2004 07:01 PM
cannot change regional settings Wenhua Liu Microsoft Windows 2000 0 9th Jul 2003 05:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 AM.