I am a beginner and need a little help with the basics.
Am using VB6.

My entire program consists of 1 Form and a textbox. I want the program to remember the text in the textbox when the app is loaded

Entire Code:
Private Sub Form1_Load()
Text1.Text = GetSettings("MyApplication", "TextboxValue", "Value", "No Data")
End Sub

Private Sub Form1_Unload(Cancel As Integer)
SaveSettings "MyApplication", "TextboxValue", "Value", Text1.Text
End Sub
When I run it It doesnt save the text in the Text box.
Can you help please