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
......
Printable View
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
......
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.
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.
........