Thread: RegEdit Help

  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,829
    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,138
    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, 08:09 AM
  2. AHHHH regedit problems
    By dP munky in forum Tech Board
    Replies: 3
    Last Post: 08-07-2004, 09:59 AM
  3. Why doesnt Regedit Work!?
    By ejholmes in forum Tech Board
    Replies: 8
    Last Post: 04-24-2004, 01:25 PM
  4. i need some regedit help (scrollbar colors)
    By Geo-Fry in forum Tech Board
    Replies: 1
    Last Post: 06-08-2003, 02:21 PM
  5. Tutorials about regedit
    By Zahl in forum Tech Board
    Replies: 5
    Last Post: 01-07-2003, 09:43 PM