Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registry searching
Message
De
05/09/2001 11:31:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Registry searching
Divers
Thread ID:
00552567
Message ID:
00552567
Vues:
49
Hi All,

What I need to do is search the registry to see if an .OCX file is registered on the user’s system. If not register it. Since I have 0 knowledge of using the registry. Could someone point me in the direction of where to look? I tried FAQ: 582 but am not sure if I am using it correctly. Or if this is the right approch.

nResult = RegOpenKeyEX(HKEY_LOCAL_MACHINE, "C:\WINNT\system32\MMail32.OCX", 0, KEY_READ, @hKey)

'nResult' always gave '2' even if I put a bogus file name in RegOpenKeyEX(). I know that is the path where it is registered on my system.

TIA
Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform