General information
Category:
Windows API functions
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only