This VB class, myRegistry, is used to process all Registry Key access (GetValue, SetValue) and was written for Visual Studio 2010.

Example of usage;
  • myRegistry.SetRegistryKey("YourName", "YourProgramName", False)
  • Dim sDbName As String = myRegistry.GetValue("dbName", "db.mdb", False).ToString
  • myRegistry.Close()
  • myRegistry.SetValue("dbName", "Newdb.mdb", True)