hi i have two questions here but they are very similar,

1) i can write a key to the registry, by using the following code

Code:
Dim TheValue As Long
TheValue = 20
Call SaveSetting("Merlin Computers", "Alarm", "reg02584", TheValue)
but how do i write the key into a specific area such as HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

please include code,

and the second one is that i can check for a key using this code
Code:
Dim Value As Long
Value = GetSetting("Merlin Computers", "Alarm", "reg02584", 0)
If Value <> 0 Then
    Label1.Caption = "exists"
Else:
    Label1.Caption = "Doesn't exist"
End If
but how can i change this so it checks the same key as i mentioned before, btw the entry i want to add is

syslock.exe

please if any one can help me it will be appreciated

please include code


btw i have just remembered, i know that a lot of people ask this but, how do you hide programs from the ctl - alt - del menu

Merlin ¿ :cofused:

[Edited by zmerlinz on 11-08-2000 at 03:50 PM]