Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registry searching
Message
From
05/09/2001 11:31:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Registry searching
Miscellaneous
Thread ID:
00552567
Message ID:
00552567
Views:
50
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
Next
Reply
Map
View

Click here to load this message in the networking platform