T
Trond Hoiberg
Let say i have a bunch of files. Logfiles that is stored in subfolders.
Folder1
--logfile1
--logfile2
--logfile3
Folder2
--logfile1
--logfile2
I want to display these files using data from the files in an TreeView
control. Like this:
Folder1
--DATE1
----logfile1
----logfile2
--DATE2
----logfile3
Folder2
--DATE1
----logfile1
----logfile2
In other words i want to be able to sort the logfiles in a treeview control
using Folder->DATE->logfile.
As i see it i need to generate an object that contains data about the file.
These objects should be stored in an array within another object that is the
date. Dateobject is in an array within folder object.
This question is maybee simular to an previous one that i have asked in this
forum, but i dont regard this as an repost. I'm a newbee trying to learn
this language
SO if you have any code samples or can point me to some it would help me a
lot.
Best regards
Folder1
--logfile1
--logfile2
--logfile3
Folder2
--logfile1
--logfile2
I want to display these files using data from the files in an TreeView
control. Like this:
Folder1
--DATE1
----logfile1
----logfile2
--DATE2
----logfile3
Folder2
--DATE1
----logfile1
----logfile2
In other words i want to be able to sort the logfiles in a treeview control
using Folder->DATE->logfile.
As i see it i need to generate an object that contains data about the file.
These objects should be stored in an array within another object that is the
date. Dateobject is in an array within folder object.
This question is maybee simular to an previous one that i have asked in this
forum, but i dont regard this as an repost. I'm a newbee trying to learn
this language
SO if you have any code samples or can point me to some it would help me a
lot.
Best regards