Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using registry vcx
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01262392
Message ID:
01262394
Vues:
17
You can use RegRead method and error habndler to cherck for key existence
llRegKeyExists = .F.
TRY
	WSHShell.RegRead("HKCU\TESTX\")
	llRegKeyExists = .T.
CATCH
	llRegKeyExists = .F.
ENDTRY
>i can create key(s) in registry via WSH,
>i want to also detect if key (parent key specially actually is not exist other ones no important to continiue for app.)
>exist each time my app start .
>i've tried to check if exist or not with sample TESTX key value via registry.vcx but i couldn't
>
>how can i doit via WSH or registry vcx ?
>
>TIA
>
<snip>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform