find key name if a value name is known in VS2005

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Umljaw==?=

    #1

    find key name if a value name is known in VS2005

    How do I find the Key Name if a Value Name (String Name) is known?
    For example:
    I have a Value Name (String Name) "MyValueNam e" somewhere under the Key Name
    "SOFTWARE\\ATI" . ATI has nested keys

    +SOFTWARE
    +ATI
    +KeyA
    +KeyB
    +KeyB1
    +KeyB2
    +KeyC
  • =?Utf-8?B?Umljaw==?=

    #2
    RE: find key name if a value name is known in VS2005

    My questions is about Windows Registry

    "Rick" wrote:
    How do I find the Key Name if a Value Name (String Name) is known?
    For example:
    I have a Value Name (String Name) "MyValueNam e" somewhere under the Key Name
    "SOFTWARE\\ATI" . ATI has nested keys
    >
    +SOFTWARE
    +ATI
    +KeyA
    +KeyB
    +KeyB1
    +KeyB2
    +KeyC

    Comment

    • Ashutosh Bhawasinka

      #3
      Re: find key name if a value name is known in VS2005

      There is on direct API or support to do that. You need to write code
      which finds/reads all keys, it's sub-keys and values.

      Rick wrote:
      My questions is about Windows Registry
      >
      "Rick" wrote:
      >
      >
      >How do I find the Key Name if a Value Name (String Name) is known?
      >For example:
      >I have a Value Name (String Name) "MyValueNam e" somewhere under the Key Name
      >"SOFTWARE\\ATI ". ATI has nested keys
      >>
      >+SOFTWARE
      > +ATI
      > +KeyA
      > +KeyB
      > +KeyB1
      > +KeyB2
      > +KeyC
      >>

      Comment

      • =?Utf-8?B?Umljaw==?=

        #4
        Re: find key name if a value name is known in VS2005

        Could you please provide me some sample code or link where sample code can be
        found?

        "Ashutosh Bhawasinka" wrote:
        There is on direct API or support to do that. You need to write code
        which finds/reads all keys, it's sub-keys and values.
        >
        Rick wrote:
        My questions is about Windows Registry

        "Rick" wrote:

        How do I find the Key Name if a Value Name (String Name) is known?
        For example:
        I have a Value Name (String Name) "MyValueNam e" somewhere under the Key Name
        "SOFTWARE\\ATI" . ATI has nested keys
        >
        +SOFTWARE
        +ATI
        +KeyA
        +KeyB
        +KeyB1
        +KeyB2
        +KeyC
        >
        >

        Comment

        Working...