I use ListView quit a bit, but I have never used it to list files in a folder, with the ability to select a file and use it in my application.
Has anyone done this or can point me to a good example code that I can use as a starting point?
Could you explain a little more about what your goal is? IOW, are you trying to just to get a valid filename from the user or are you trying to expand your knowledge of the listview control? Although you could make a listview work, it wouldn't look like what most people are used to. Most programs use a treeview/listview combination. There are several BFF (browse for file) examples on PB's website and in POFFS. PB9.0 now has a 'Display Browse' routine that lets the user browse for a folder or file.
David