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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement