What is hte api and how do I use it to manipulate WIN98 registry?

Below is an earlier post. Please Help

aatwell

=======================================
Save,get,deletesetting didn't work

Hi,
It didn't work using the getsetting, savesetting, and deletesetting
commands in VB 6.0. I found a book and copied the code directly
from it and that didn't work either. Any clues? The code I found was
as follows:

Private Sub Command1_Click()
Rem SaveSetting
SaveSetting(appname:="MyApp", Section:="Starup", _
key:="Left", setting:=1)

Rem I also tried this one.
savesetting("MyApp","Startup","Left", 50)
End Sub

Private Sub Command2_Click()
Rem GetSetting
Debug.Print GetSetting(appname := "MyApp", _
section := "Startup", key := "Left", default := "25")
End Sub

Private Sub Command3_Click()
Rem DeleteSetting
DeleteSetting("MyApp", "Startup")
End Sub

Private Sub Command4_Click()
Rem Quit
End
End Sub