I have a couple of VB6 subs that use a button click and fso to .Writeline some settings to a .txt type of file that can then use .Readline to restore the values.
Question: How do I integrate the CommonDialog control into this so that the user can enter their own file name and override the pre-determined file name? I just can't seem to get this to work...many thanks.
Private Sub mnu_SaveStatus_Click()
SaveSettings App.Path & "\settings.set"
Private Sub SaveSettings(ByVal FileName As String)
Set strm = fso.CreateTextFile(FileName, True)