Hi,<br>
<br>
I'm looking for a way to get a list of files with creation date - sorted by date, most recent first, into a list box.<br>
<br>
I have this working at the moment - but it's a bit inefficient.<br>
<br>
One of the requirements is that the user must be able to click on a file in the list - and be able to edit it. So the refresh of the list shouldn't be an event the user notices.<br>
<br>
The other requirement is that the list should be updatedn "in real time". I've taken this to mean every couple of seconds.<br>
<br>
My approach so far has been a file list box to pick up all the file names - insert any changed entries into a listbox complete with date and time retrieved with FileDateTime. Not bad - but if you start inserting/updating items in a listbox the Sorted property is worthless and if I start the list off from scratch each time it flicks around and looks horrible.<br>
<br>
So - ideas welcome - Eric? Alt255?<br>
<br>
Mike<br>
<p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>
<br>
I'm looking for a way to get a list of files with creation date - sorted by date, most recent first, into a list box.<br>
<br>
I have this working at the moment - but it's a bit inefficient.<br>
<br>
One of the requirements is that the user must be able to click on a file in the list - and be able to edit it. So the refresh of the list shouldn't be an event the user notices.<br>
<br>
The other requirement is that the list should be updatedn "in real time". I've taken this to mean every couple of seconds.<br>
<br>
My approach so far has been a file list box to pick up all the file names - insert any changed entries into a listbox complete with date and time retrieved with FileDateTime. Not bad - but if you start inserting/updating items in a listbox the Sorted property is worthless and if I start the list off from scratch each time it flicks around and looks horrible.<br>
<br>
So - ideas welcome - Eric? Alt255?<br>
<br>
Mike<br>
<p>Mike Lacey<br><a href=mailto:Mike_Lacey@Cargill.Com>Mike_Lacey@Cargill.Com</a><br><a href= Cargill's Corporate Web Site</a><br>