You can use windows scripting host from within vb, at least it works in vb6 (that I know of)
Dim WshShell, bKey
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\Software\ACME\FortuneTeller\", 1, "REG_BINARY"
WshShell.RegWrite "HKCU\Software\ACME\FortuneTeller\MindReader", "Goocher!", "REG_SZ"
bKey = WshShell.RegRead("HKCU\Software\ACME\FortuneTeller\")
WScript.Echo WshShell.RegRead("HKCU\Software\ACME\FortuneTeller\MindReader")
WshShell.RegDelete "HKCU\Software\ACME\FortuneTeller\MindReader"
WshShell.RegDelete "HKCU\Software\ACME\FortuneTeller\"
WshShell.RegDelete "HKCU\Software\ACME\"copied this piece of code from script56.chm, which used to be freely downloadable from ms website
Windows Scripting. Off course this is the vbscript version, it will prolly need some changes..
the correct way to do it would be the piece of code you showed here, it's not that difficult, it just itterates the subkeys and puts them in a textbox one by one. but wsh is probably easier