Results 1 to 2 of 2

Thread: Registry

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2001
    Posts
    52

    Question Registry

    I am trying to create values in the registry. I have worked out how to create string values but I have no idea on how to create DWORDS and Binary Values. Does anyone have any idea of how this is done under .NET?

  2. #2

    Thread Starter
    Member
    Join Date
    Nov 2001
    Posts
    52
    I have found how to create a dword value but I still do not know how to create a reg_multi_sz and a reg_binary. Here is the code for the dword thanks to this forum :

    VB Code:
    1. Dim Reg As RegistryKey
    2.  
    3. Reg = Registry.LocalMachine.OpenSubKey("Software", True)
    4.  
    5. Reg.SetValue("TestDword", (Int(1)))
    6. Reg.Close()

    If anyone has any idea on how to create reg_multi_sz and reg_binary for vb .net I would really apprectiate it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width