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
Miscellaneous
Thread ID:
00872099
Message ID:
00872263
Views:
23
I am afraid you did not include the registry.H file.
In your pogram do you have #include statement? Like:

#include registry.H


>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform