Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting error Variable HKEY_LOCAL_MACHINE not found
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Getting error Variable HKEY_LOCAL_MACHINE not found
Miscellaneous
Thread ID:
00872099
Message ID:
00872099
Views:
82
I have included the Registry.PRG that is included into VFP package into my program: to access the registrykey
This is the following code i am using: i am getting the error at the HKEY_LOCAL_MACHINE
********************************************************************
SET PROCEDURE to "programs\registry.prg"

clear
oRegistry=CREATE("Registry")

*** Now Read the value for key sessionfinished

? oRegistry.ReadRegistryString(HKEY_LOCAL_MACHINE,;
"SOFTWARE\JUNGCLAUS SOFTWARE ENGINEERING\TWAINCommander",;
"SessionFinished")
********************************************************************

Yuri,
Can you please tell me what do i need to change to access the registry by using the registry.prg.

Please let me know, since i need to deliver the project by friday.

Thank you very much.
Next
Reply
Map
View

Click here to load this message in the networking platform