|
-
Aug 2nd, 2000, 07:45 AM
#1
Thread Starter
Junior Member
Can anyone tell me how I can display a comma-separated textfile in a listviewbox with 3 columns when the form loads?
The textfile contains the following data:
script1, path1, time1
script2, path2, time2
script3, path3, time3
......
-
Aug 2nd, 2000, 07:49 AM
#2
Addicted Member
try this for listing mutipul columns... set it up to view as a report
then this adds the new line... replace rsClone("RefNo") with the first column in your file
Set NewItem = lvFind.ListItems.Add(, , rsClone("RefNo"))
then add the rest of your columns like this.
NewItem.SubItems(1) = rsClone("StyleID")
NewItem.SubItems(2) = CDate(rsClone("Date"))
if you need more help let me know.
-
Aug 2nd, 2000, 08:02 AM
#3
Thread Starter
Junior Member
Nathan,
Thanx, I think I need more help (means I'm sure I need more help)....
The problem is that I want to export the (comma-separated) data from the textfile into the listview control automatically when the form loads.
........
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
|