473,394 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Enumerating the Registry

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
Aug 23 '07 #1
8 1695
For the look and feel, or for registry manipulation?

"ross m. greenberg" wrote:
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
Aug 23 '07 #2
>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

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Aug 23 '07 #3

For the look and feel, or for registry manipulation?

Both!!
Aug 23 '07 #4

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


I'd love to! No MS.Win32 assembly or namespace from what I can see!

Ross
Aug 23 '07 #5
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

"ross m. greenberg" wrote:
>
Have a look at the Registry classes in the Microosft.Win32 namespace.


I'd love to! No MS.Win32 assembly or namespace from what I can see!

Ross
Aug 24 '07 #6
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?
"ross m. greenberg" wrote:
>
For the look and feel, or for registry manipulation?


Both!!
Aug 24 '07 #7

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
Aug 24 '07 #8

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
Aug 26 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Brett Mostert | last post by:
Hi, I need to be able to Enumerate through Printer Drivers, ports, printers and so fourth. And even add printers, ports, and drivers and setup printers. Sofar i can do all of the following...
2
by: Bishman | last post by:
Can anyone suggest a method of enumerating instances of MSDE 2000 without using DMO ? Using C++, MFC, and ADO. Thanks
4
by: Lyn | last post by:
Hi, This question may seem a bit academic... To learn more about Access VBA, I have been enumerating the properties of various form controls. This was mostly successful and I have learned a lot...
1
by: Kevin | last post by:
Hi, How can I enumerate a linked list while being hable to delete any number of elements while enumerating ? I was using: struct st { ... struct st *prev;
0
by: Michael C | last post by:
Hi all, After a lot of research, I've come to some realizations about enumerating Named Instances of MSDE. NetServerEnum() Win32 API function doesn't work, SQL-DMO doesn't work, no standard...
4
by: Brett Mostert | last post by:
Hi, I need to be able to Enumerate through Printer Drivers, ports, printers and so fourth. And even add printers, ports, and drivers and setup printers. Sofar i can do all of the following...
0
by: robmcdan | last post by:
Hi, I'm using RegNotifyChangeKeyValue() (via DllImport) to detect changes to registry keys and subkeys. However, in addition to catching changes, I would like to know what the changes were. ...
2
by: Tony | last post by:
I have this problem - I have a hashtable, containing a list of filenames. Every 60 seconds, I have a thread that enumerates thru this hashtable, and based on some simple logic, some of the items...
0
by: Alan King | last post by:
To All: I'm having difficulty getting the syntax correct for VB.NET to produce a listing of all software applications on a remote PC listed in the registry installed programs. I'm able to get...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.