Results 1 to 3 of 3

Thread: How to watch registry changes?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Indianapolis, IN, USA
    Posts
    2

    Post

    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).]

  2. #2
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg , Denmark
    Posts
    1,544

    Post

    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/
    carsten.h.thomsen@mail.tele.dk


    [This message has been edited by CyberCarsten (edited 01-26-2000).]

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Indianapolis, IN, USA
    Posts
    2

    Post

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width