CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2001
    Location
    Chile
    Posts
    6

    VB 6.0 and Regional configuration

    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.


  2. #2
    Join Date
    May 2001
    Location
    Canada
    Posts
    182

    Re: VB 6.0 and Regional configuration

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured