Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RegLoadKey
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00147215
Message ID:
00147518
Vues:
35
>Pete,
>
>If you go to my website, on the Links page is a link to the online version of the Win32 documentation. Have you looked at the registry.prg that ships with VFP5 or the _registry class in VFP6? They don't have the RegLoadKey/RegSaveKey functions wrapped but they wouldn't be too hard to add.
>
>If you have a .reg file you should be able to just use ShellExecute(), there's some examples for that on my site too, to get the .reg file put into the registry. It would be like the user double clicking the file in explorer.
>
>>I'm using Win95, the reg file was created by Regedit, what i'm trying to do is keep a public copy of the reg hive used by my app on the server, any new users/changes etc... could reference this file and import it using RegLoadKey(), my knowledge of the API is sadly lacking though and try as I might I cannot find a API/VFP book

David,
thanks I've actually created my own Registry class based ( blatantly plagiarised ) on the sample code in 5.0, 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 )

Thanks again
Pete Kane
Regards,
Peter J. Kane



Pete
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform