Sort Date Column in ListView without Using API
Category:
Forms and ControlsType:
SnippetsDifficulty:
IntermediateAuthor:
Mitesh H. BudhabhattiVersion Compatibility: Visual Basic 6, Visual Basic 5
More information:
The listview control cannot sort date column. It sorts date column as normal text. This piece of code displays how to sort date column in Listview without using API. For this you have to add a listview to the form and copy/paste the code.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: