|
-
Oct 4th, 2012, 04:01 AM
#1
Thread Starter
Hyperactive Member
[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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|