
Sorting date in ListView...
Quote:
> >Dear all,
> > I've tried to sort data in ListView, everything is working well except
> >for sorting date. The ListView treats date as string to search (Of course
> >it's a string when added onto the ListView)...
> > Is there any method to make it sort date correctly ?
> I have the same problem. ( So does the Windows Explorer)
> I end up adding a column to the listview with the "single" time value
> and went use hit "Date" column I will sort the list base on the
> "hidden" column. The GUI is not perfect. You can check out how it
> work in my program
> You can check out my program "Visual Source Code Explorer" at:
> http://www.kudonet.com/~ixfwin/vsce.html
> It is an source code cross reference and documentation tool.
> -- Tony Lee - Author of Visual Source Code Explorer
> http://www.kudonet.com/~ixfwin/vsce.html
go to vbnet . I had the same problem . Randy has an example there that sorts
dates.
It drove me crazy until i found the example !!
http://home.sprynet.com/sprynet/rasanen/vbnet/default.htm
---- Roger adams