Hi,
How Do I check in the registry if the screensaver is set or not? Tried using the regOpenKey API, but that didn't work.
My code:

Code:
Dim Retval As Long
Dim Reg_val As Long
    Reg_val = RegOpenKey(HKEY_CURRENT_USER, "Control Panel\desktop\ScreenSaveActive", Retval)
Any ideas??

Thanx