Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using registry vcx
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01262392
Message ID:
01262394
Views:
16
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform