Results 1 to 5 of 5

Thread: [RESOLVED] Can't Read Timezones From Registry Unless Admin

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Hassan Basri's Avatar
    Join Date
    Sep 2006
    Posts
    324

    Resolved [RESOLVED] Can't Read Timezones From Registry Unless Admin

    Hello,

    I have a VB6 program that lists the available timezones and populates a combobox. Similar to the timezone combobox in the "Date and Time Properties" of windows.

    This is working fine in all versions of windows. I came upon a situation where my combobox was not being populated. After some investigation I found that the program didn't have access to this path in the registry:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones

    When I run the program as an admin the combobox gets populated correctly. If I run as the regular user the combobox doesn't get populated. My program writes and reads to its own folder in the regsitry without issue. However unless I am admin on this particular machine I can't read this path

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones

    Any ideas anybody? Thanks.
    Last edited by Hassan Basri; Oct 4th, 2012 at 04:05 AM.

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