Avatar of cplau
cplau

asked on 

Setup date time setting on a Windows XP PC

Hi All,

I have a PC installed with Windows XP SP2 and joined a domain controller.
Is it possible that I can setup the date time setting for every doamin general user using this PC to dd/mm/yyyy h:mm:ss tt by running a program druing startup.

Please advise. Thanks.
Visual Basic ClassicWindows XP

Avatar of undefined
Last Comment
Courtjesterr
ASKER CERTIFIED SOLUTION
Avatar of Courtjesterr
Courtjesterr

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of cplau
cplau

ASKER

Hi Courtjesterr,

I only know how to use the SaveSetting function to create/modfiy application registry key under
"HKEY_CURRENT_USER\Software\VB and VBA Program Settings"

Please advise how to update the key sTimeFormat under
"HKEY_CURRENT_USER\Control Panel\International" in a VB Program. Thanks.
Avatar of Courtjesterr
Courtjesterr

If it isnt very many computers you can export the registry key and run it in a startup script.
Avatar of Courtjesterr
Courtjesterr

What I meant was you have to run a script to install the Reg key on the computers at login since this is a per user setting.  
Visual Basic Classic
Visual Basic Classic

Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.

165K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo