|
-
Jun 19th, 2005, 07:41 PM
#21
Lively Member
Re: Saving settings in VB programs.
 Originally Posted by Hack
You are absolutlely on the right track Tigerman. Here is an example of what I think you need. Modify as necessary
VB Code:
Private Sub mnuDefault_Click()
SaveSetting "NameOfYourApp", "AppropriateSectionName", "AppropriateKeyName", Text1.Text"
End Sub
Private Sub Form_Load()
Dim strMySetting As String
strMySetting = GetSetting "NameOfYourApp", "AppropriateSectionName", "AppropriateKeyName"
Text1.Text = strMySetting
End Sub
Clear as mud?
I don't get the part of "NameOfYourApp", "AppropriateSectionName", "AppropriateKeyName", what are each of them ?
thnx in advance,
Phil.D.
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
|