TechSapphire Tuesday, 2019-02-19, 4:39 PM
Site menu
Login form
Play Games
  • Deep Freeze
  • Ice Slide
  • Gyroball
  • Fat Fish
  • Bush Royal Rampage
  • Main » 2011 » October » 5 » Editing Registry using .net
    7:06 PM
    Editing Registry using .net

    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

    Category: Programming | Views: 1031 | Added by: Admin | Tags: add registry key using vb, make registry key using .net, registry using vb, edit registry using vb, registry vb .net, edit registry using .net | Rating: 0.0/0
    Total comments: 0
    Only registered users can add comments.
    [ Registration | Login ]
    Programming [27]
    Tips for programming
    Security [2]
    Security Tips
    Google [1]
    Use google faster then ever you use
    Project [14]
    HTML [2]
    Electronics [0]
    Data Structure [0]
    Database [16]
    SSRS [1]
    Sql Server Reporting Services
    Copyright MyCorp © 2019