Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RegLoadKey
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00147215
Message ID:
00147539
Views:
39
>Pete,
>
>>thanks I've actually created my own Registry class based ( blatantly plagiarised ) on the sample code in 5.0,
>
>That's where mine started, although mine doesn't look very much like the original anymore, I got real fed up with the inconsistent interface to the methods and pretty much reworked it entirely and switched to the Ex functions.
>
>>but this doesn't help me without an example of each API call, I realise pointers and structures are a problem with VFP but this one doesn't appear to require them. As for ShellExecute() this calls Regedit and does the trick, but it pops up a message box at the end which I don't want ( perfectionists' are a pain )
>
>Do you have MSDN or VS5/6? That CD is the best place to go get info about the API functions. The RegLoadKey() function doesn't have a good sample though. Check the MSKB articles Q175329, Q168877

David,
thanks I will, what I did with my Reg class was, I left the MS original as is, subclassed it and added methods which inserted the horrible bits like myappkey,myapppath etc... and called the base methods, it was pretty good for a freeby though

Cheers I'm off for a pint
Pete Kane
Regards,
Peter J. Kane



Pete
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform