Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Registry Class IsKey Method
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
VFP Registry Class IsKey Method
Divers
Thread ID:
00474655
Message ID:
00474655
Vues:
94
I’m trying to check a value in a Registry key using the VFP Registry Foundation Class which is on a form.

The value is under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Using the syntax
llKeyIs = THISFORM.registry1.IsKey(lcKeyPath,'HKEY_LOCAL_MACHINE')

If I have lcKeyPath = 'SOFTWARE\Microsoft\Windows\CurrentVersion'

I get .t. as a response but if I have lcKeyPath = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall' I get .f. as the response even though that key is there.

Is there a string length restriction or can anybody tell me why I can’t get a .t. for the Uninstall key when I can get it for the CurrentVersion key?

TIA

Ed
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform