Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Definition Registry is not found
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00872043
Message ID:
00872058
Views:
17
Where is the "Registry" class defined? Or you are talking about Registry.PRG that is included into VFP package (classes, samples)? If so, you need to:

SET PROCEDURE to registry.prg.

>I have a included the file registry.h file from fox pro FFC
>to my class object which is a custom object called myreg
>
>
>Now in the form i have included that object myreg(custom object)
>
>In the button clieck event i wrote the following:
>
>***************************************************
>Clear
>oRegistry=CREATE("Registry")
>
>? oRegistry.ReadRegistryString(HKEY_LOCAL_MACHINE,;
> "SOFTWARE\Jungclaus\twain",;
> "Sessionfinished")
>
>***************************************************
>I am getting the error at create("Registry")
>
>Can you please tell me, do i need to add anything else..
>
>Thank you very much.
Previous
Reply
Map
View

Click here to load this message in the networking platform