I'm wondering how I would go about selecting a listview item in code so that it is highlighted just as if I had clicked on it. I've looked in the help files and found the following example which doesn't seem to work for me.
Set ListView1.SelectedItem = ListView1.ListItems(1)
Even when I open a new project with nothing on the form but a command button and a listview it won't select the first item for me.
Am I trying to do the impossible or is there something I am overlooking. Any help will be greatly appreciated.