CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1

    How to check whether a particular data exist in the registry RunServices?

    I want to check whether an entry like app.exe does exist in the data value of the registry key
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices]

    How do I do a recursive check on RunServices ?

  2. #2
    Join Date
    Apr 1999
    Posts
    3,585
    The registry functions provide methods to recursively process a key. You'll need to write a loop that calls RegEnumValue() to get each value. Take a look at the registry functions in MSDN.
    Gort...Klaatu, Barada Nikto!

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

Featured