Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get all the settings in IDE vs. run-time?
Message
From
02/02/2017 16:52:12
 
 
To
02/02/2017 14:21:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01647262
Message ID:
01647376
Views:
59
the buffer initializing the variables
STORE SPACE(256) TO lpbData, lpszValue 
traversing the APIs (RegEnumValue,RegEnumKey) are returned as their exact values.
in the cursor returned by code above i see that there is only path registered key as key might be too long than 256 chars.

in my vfp i have not a path >256 chars
if the case, increasing this value can solve the problem (to confirm).

can you confirm also the error pointed in this code in your case (independent of registry.prg)
http://www.news2news.com/vfp/?example=131&function=194


if you execute regedit.exe as administrator and go to this key (in my windows 10)
HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\9.0\Options
you can see all the vfp 9 options settings in registry.
can capture all options set simply by rightclick on "options " key and choose "export" to txt file.
this is a manual way to return all vfp 9 options settings.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform