Editing Registry using .net
For editing registry using .net you need to import
microsot.win32 namespace. The Microsoft.Win32
namespace provides two types of classes: those that handle events raised by the
operating system and those that manipulate the system registry.
In editing registry we have to do following operations. Those
are:
Creating Subkey:
First you have to import Microsoft.win32 namespace. Then
declare a variable of type registry key. Do as guided in code.
VB.Net code
Imports Microsoft.Win32
Public Class Pathcreater
Private sub subkey_creator()
Dim regKey1 As
RegistryKey
Dim strpath as
string Move to this link for full solution
Example In c#Example in Vb.Net
|