|
Adding information to the registry
This sample shows a bottom which when clicked changes the registry.
The first 3 bits of information are the categorises in the registry
while the final one is the value.
Private Sub button1_Click()
SaveSetting "My App", "Options", "Clicked",
"Yes"
End Sub
You can also make the information dynamic. For instance if you
wanted to save a users name you could have a text box called Name1.
When the clicked a button it would then save the name they entered
into the registry:
Private Sub button1_Click()
SaveSetting "My App", "Users", "Username",
Name1.Text
End Sub
|