Registry Editor and Property Grid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve Teeples

    Registry Editor and Property Grid

    I have looked but can't find a way to pull up the registry editor within a
    propertygrid. Is this possible? If so, can you tell me how?
    --
    Steve
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Registry Editor and Property Grid

    Steve,

    I don't know that you will be able or want to do this. You can create a
    custom designer for the property on your component, but if you launch
    regedit, you won't be able to get feedback from it in order to populate the
    property grid correctly.

    Are you just trying to select a key from the registry? If so, you can
    easily do that with a tree view control, using a lazy loading scheme to load
    all the keys in the registry.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Steve Teeples" <SteveTeeples@d iscussions.micr osoft.com> wrote in message
    news:714C3D35-F86E-4ADF-9217-2161A6901557@mi crosoft.com...[color=blue]
    >I have looked but can't find a way to pull up the registry editor within a
    > propertygrid. Is this possible? If so, can you tell me how?
    > --
    > Steve[/color]


    Comment

    • Steve Teeples

      #3
      Re: Registry Editor and Property Grid

      I created a simple editor that is pulled up in propertygrid. Thanks for the
      direction!

      "Nicholas Paldino [.NET/C# MVP]" wrote:
      [color=blue]
      > Steve,
      >
      > I don't know that you will be able or want to do this. You can create a
      > custom designer for the property on your component, but if you launch
      > regedit, you won't be able to get feedback from it in order to populate the
      > property grid correctly.
      >
      > Are you just trying to select a key from the registry? If so, you can
      > easily do that with a tree view control, using a lazy loading scheme to load
      > all the keys in the registry.
      >
      > Hope this helps.
      >
      >
      > --
      > - Nicholas Paldino [.NET/C# MVP]
      > - mvp@spam.guard. caspershouse.co m
      >
      > "Steve Teeples" <SteveTeeples@d iscussions.micr osoft.com> wrote in message
      > news:714C3D35-F86E-4ADF-9217-2161A6901557@mi crosoft.com...[color=green]
      > >I have looked but can't find a way to pull up the registry editor within a
      > > propertygrid. Is this possible? If so, can you tell me how?
      > > --
      > > Steve[/color]
      >
      >
      >[/color]

      Comment

      Working...