Registry.SetValue : Registry « Microsoft.Win32 « VB.Net by API






Registry.SetValue

  

Option Strict On

Imports Microsoft.Win32

Public Module RegistrySetValue
   Public Sub Main
      Dim regData As Byte() = {&HF0, &HFF, &H20, &H00}
      Dim regTopKey As String = "HKEY_LOCAL_MACHINE"
      Dim regPath As String = "\Software\MyCompany\MyApp"

'      Registry.SetValue(regTopKey & regPath, "BinData", regData, RegistryValueKind.Binary)
   End Sub
End Module

   
    
  








Related examples in the same category

1.Registry.CurrentUser
2.Registry.GetValue