Enumerating the Registry

  • Thread starter Thread starter ross m. greenberg
  • Start date Start date
R

ross m. greenberg

I'm trying to emulate the look and feel of "RegEdit" under Visual Basic/VB.Net using Visual Studio 2005.

Can anybody give me a pointer in the right direction: for example, what name spaces must I import, and what methods are available to me?

Thanks!

Ross
 
Can anybody give me a pointer in the right direction: for example, what name spaces must I import, and what methods are available to me?

Have a look at the Registry classes in the Microosft.Win32 namespace.


Mattias
 
ross,

You mean that when you type "Imports Microsoft." that you don't get an
intellisense hint that "Win32" can go after the dot?

And after you type "Imports Microsoft.Win32." that you don't get an
intellisense hint with options like "Registry", etc?

Strange.

You might also look into My.Computer.Registry.*

Kerry Moorman
 
For the L&F:
1. Add a menustrip to the form.
2. Add a splitcontainer to your form.
3. Add a treeview to the left panel, customize to taste.
4. Add a listview to the right panel, customize to taste.

For the registry manipulation:
Mattias and Kerry have addressed this. Are you having trouble getting the
registry methods?
 
You mean that when you type "Imports Microsoft." that you don't get an
intellisense hint that "Win32" can go after the dot?

And after you type "Imports Microsoft.Win32." that you don't get an
intellisense hint with options like "Registry", etc?

Strange.

You might also look into My.Computer.Registry.*

For some reason I do not understand, IntelliSense just started working: last night when I tried, it did not, this morning when I tried the same thing, it did.

Talk about strange!
Ross
 
For the registry manipulation:
Mattias and Kerry have addressed this. Are you having trouble getting the
registry methods?

By any chance do you have a pointer to this?

I'm finding addressing and manipulating see registry, its subkeys and values to be tougher than I first thought!

Thanks.

Ross
 
Back
Top