If you're not too worried about where it goes in the Registry, you can use the VB Functions; GetSetting/GetAllSettings/SaveSetting, ie.
Add a Game to the Registry..
Code:
SaveSetting App.Title, "Game List", "Game 1", "C:\Games\Game1.exe"
Get a Specific Game Path from the Registry..
Code:
sGamePath = GetSetting(App.Title, "Game List", "Game 1", "")
Get All Games and Paths..
Code:
Dim aGames As Variant
Dim iGame As Integer
aGames = GetAllSettings(App.Title, "Game List")
For iGame = LBound(aGames, 1) To UBound(aGames, 1)
List1.AddItem aGames(iGame, 0) & " - " & aGames(iGame, 1)
Next
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]