DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   VB.NET (http://www.daniweb.com/forums/forum58.html)
-   -   Editing windows registry (http://www.daniweb.com/forums/thread15210.html)

nanosani Dec 7th, 2004 4:48 pm
Editing windows registry
 
how can I edit the windows registry using vb.net

Sphyenx Dec 7th, 2004 11:41 pm
Re: Editing windows registry
 
why would you want to? I never really thought you could. Or would want to. When you could do it your self bu selecting Run in the start menu, and typing regedit.exe, or what ever yours is depending on your OS. Also dont edit reg. Unless you are completely sure of what your doing. We jsut had a case here ont he board were an adult lost his mouse, keyboard, dh, and floppy drive on such a simple but hard to fix mistake. (=, good luck bro!.

nanosani Dec 8th, 2004 5:30 pm
Re: Editing windows registry
 
I have found the way ... and I'll show you the software for registry editing I am making .. hehe

Sphyenx Dec 8th, 2004 10:37 pm
Re: Editing windows registry
 
If you need a beta tester. Im up for it.

Put it in a zip, and ill test it on a seperate PC.

nanosani Dec 14th, 2004 6:11 pm
Re: Editing windows registry
 
thanks Sphyenx ... I'll see if I dont have a testing pc.

bwasson Sep 25th, 2008 3:11 pm
Re: Editing windows registry
 
I know this is an old topic, but in case someone else googles it...

For doing a simple key edit in a .net program, you can simply use a variable of the following code:

Dim WSH
        'Changes <key> to <New Value>
        WSH = CreateObject("WScript.Shell")
        WSH.RegWrite("<key>", "<New Value>")


All times are GMT -4. The time now is 8:18 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC