|
-
Jan 20th, 2002, 05:39 AM
#1
Thread Starter
New Member
Saving ListBox information to a file.?
Hi, I'm trying to save information inside of a ListBox to a *.txt file.
This is the code im using:
Private Sub cmdSave_Click()
Dim FileName As String
dlgFile.Action = 2
FileName = dlgFile.FileName
F = FreeFile
Open FileName For Output As #F
Print #F, lstPolicy.text
Close #F
End Sub
I can get information in a textbox and label to save to a file but i cant seem to get the right ListBox property to save the lstpolicy information to a file. Can anyone help me?
-Flaw
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
|