Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read/Write NT/Windows2000 registry
Message
 
 
To
09/10/2001 10:20:00
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00565917
Message ID:
00565945
Views:
16
>This may or may not be a WinAPI issue, but am looking for guidance as to how to read/write to the NT/Win2000 registry.
>
>Under Win95/98/ME, a typical .ini file section would appear as:-
>
>[Compression]
>bCompressContents=1
>bCompressColor=1
>
>I currently access the data by converting the .ini file to a table and performing basic VFP functions to locate, replace with new value, etc, then using STRTOFILE() to save and overwrite the original .ini file, which is a simple but unsophisticated way of getting a result.
>
>How does one approach the same problem in NT/Win2000 please?
>
>TIA
>

Dennis,
In addition to what Dan posted, with NT/2000 you have to worry about security issues with respect to the registry. Depending on your access rights, you may not be able to only all registry keys. You may be limited to areas like HKEY_CURRENT_USER.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform