Click to See Complete Forum and Search --> : VB 6.0 and Regional configuration


Rodolfo Aranda
July 4th, 2001, 03:37 PM
Hi, I'm working with Visual Basic 6.0 and Windows 98. I want to detect and update the regional configuration in my applications ...

Can anybody help me ???
Thaks in advance,
Regards from Chile.

michi
July 4th, 2001, 06:13 PM
You can try these API functions:


public Declare Function GetTimeZoneInformation Lib "kernel32" Alias "GetTimeZoneInformation" (lpTimeZoneInformation as TIME_ZONE_INFORMATION) as Long


public Declare Function SetTimeZoneInformation Lib "kernel32" Alias "SetTimeZoneInformation" (lpTimeZoneInformation as TIME_ZONE_INFORMATION) as Long





Hope this helps.


Regards,

Michi
MCSE, MCDBA