Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read Registry Key Without Registry vcx class
Message
 
 
To
12/03/2007 13:09:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01202744
Message ID:
01202793
Views:
11
>Except that in Stuart's version, this is acceptable:
>
>#define HKLM 0x80000002
>
>oStdRegProv = getobject("winmgmts://./root/default:StdRegProv")
>cValue = space(255)
>
>TRY
>	if oStdRegProv.GetStringValue(HKLM, "SOFTWARE\Classes\Tracy.Project\shell\Open\Command\", "", @cValue) = 0
>	    ? "Value is " + cValue
>	endif
>CATCH
>	?[The application is not installed]
>       *--Handle application not installed
>
>ENDTRY
>
Yes, thanks.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform