title: Edit Registry in Vb.net
body: <p>I need to edit registry in vb.net (2010) i know how to edit it in a .reg file but not in visual basic 2010 if it helps this is the code</p>
  
  <pre>    Windows Registry Editor Version 5.00
  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]
  "dontdisplaylastusername"=dword:00000000
  "legalnoticecaption"="                                             Justin Tech"
  "legalnoticetext"="This computer system, including all related equipment, is the property of the Justint Tech and is solely for uses authorized by jUSITN tECH. You have no right to privacy on the system, and all information and activity 
  
  on the system may be monitored.  Any unauthorized use of the system may result in disciplinary action, civil or criminal penalties."
  "shutdownwithoutlogon"=dword:00000001
  "undockwithoutlogon"=dword:00000001</pre>