RegEdit Help

This is a discussion on RegEdit Help within the C++ Programming forums, part of the General Programming Boards category; Hi, How do I see if a value exists inside a key? Thanks for your help, Daniel...

  1. #1
    Registered User Daniel's Avatar
    Join Date
    Jan 2003
    Posts
    47

    RegEdit Help

    Hi,

    How do I see if a value exists inside a key?

    Thanks for your help,
    Daniel

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Er, open the key and look?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    Use RegOpenKeyEx to open the key and then use RegQueryValueEx to check the value. If RegQueryValueEx fails, you can check if the reason was that the value was nonexistent.

    Also, after using RegOpenKeyEx, you could use RegEnumValue and search through all of the values.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Win regedit
    By Liger86 in forum Windows Programming
    Replies: 1
    Last Post: 04-08-2005, 09:09 AM
  2. AHHHH regedit problems
    By dP munky in forum Tech Board
    Replies: 3
    Last Post: 08-07-2004, 10:59 AM
  3. Why doesnt Regedit Work!?
    By ejholmes in forum Tech Board
    Replies: 8
    Last Post: 04-24-2004, 02:25 PM
  4. i need some regedit help (scrollbar colors)
    By Geo-Fry in forum Tech Board
    Replies: 1
    Last Post: 06-08-2003, 03:21 PM
  5. Tutorials about regedit
    By Zahl in forum Tech Board
    Replies: 5
    Last Post: 01-07-2003, 09:43 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21