On Tue, 2 Oct 2001 11:27:39 -0700, "Chris Cox"
Quote:
>How can sort a date properly in a list view when a user
>clicks the column header. Currently it sorts
>ascending/descending, but it sorts the dates as strings.
>for exapmle: 1/1/1998
> 1/1/1999
> 2/1/1998
>Any suggestions?
>Chris
Have a look at Sorting ListView ListItems Using Callbacks on vbNet
http://www.mvps.org/vbnet/code/callback/lvsortcallback.htm
HTH,
Bryan
____________________________________________________________
New Vision Software "When the going gets weird,"
Bryan Stafford "the weird turn pro."
Microsoft MVP-Visual Basic Fear and Loathing in LasVegas