|
-
May 18th, 2001, 08:54 AM
#1
Thread Starter
Banned
File System Objects
Here's the problem...my program searches for certain zip files. Instead of putting the names of the zip files in a list box, I need it to open a text file of the same name and pull certain information out of it and place that in the list box instead.
-
May 18th, 2001, 09:40 AM
#2
Lively Member
OK, presumably you have a string someplace with the ZIP files name in it. This code below may help
Dim FileID as long
fileid=freefile
open "c:\zipfiles\" & filename & ".txt" for output as fileid
print #fileid, {The information you want to enter}
close #fileid
Hope this helps
Chri
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
|