-
I would like to watch a specific registry key, and when it changes I would like to set another registry key.
Does anyone have any suggestions of how to do this? I want to make sure I do it in the most efficient way.
By the way, I am on Windows 95, so the use of RegNotifyChangeKeyValue will not work, as it is only supported in Win98 and WinNT. Are there any other ways?
THANKS!
Dave
[This message has been edited by crum66 (edited 01-26-2000).]
-
You can use the GetSetting
Place a label on a form, and type the following code:
Private Sub Form_Load()
Label1.Caption = GetSetting(Appname:="SomeApp" , Section:="SomeSection", Key:="SomeKey")
------------------
Yours sincierly
CyberCarsten http://home18.inet.tele.dk/cyber/
[email protected]
[This message has been edited by CyberCarsten (edited 01-26-2000).]
-
Well, I need a little more than this. You see, I need to have this process constantly running (preferably in the background with no user interface). And when it finds that a particular registry value has changed, I need to act on that and change another registry value. And when it happens again, do the same thing (and so on).
Any ideas?