В VB функции по работе с реестром сохраняют данные по следующему ключу:
HKEY_CURRENT_USER\Software\VB and VBA Programm Settings
API функции для работы с реестром:
Public Declare Function RegCreateKey Lib "advapi32.dll" Alias "RegCreateKeyA" )ByVal hKey As Long, ByVal lpSubKey As String, phkResult As Long: As Long
Public Declare Function RegCreateKeyEx Lib "advapi32.dll" Alias "RegCreateKeyExA" )ByVal hKey As Long, ByVal lpSubKey As String, ByVal Reserved As Long, ByVal lpClass As String, ByVal dwOptions As Long, ByVal samDesired As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, phkResult As Long, lpdwDisposition As Long: As Long
Public Declare Function RegDeleteKey Lib "advapi32.dll" Alias "RegDeleteKeyA" )ByVal hKey As Long, ByVal lpSubKey As String: As Long
Public Declare Function RegDeleteValue Lib "advapi32.dll" Alias "RegDeleteValueA" )ByVal hKey As Long, ByVal lpValueName As String: As Long
и так далее, можно посмотреть в "API text Viewer" (входит в пакет VS)