|
-
Oct 31st, 2000, 05:15 PM
#1
Thread Starter
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|