>I would like to create a form that has a listbox containing a group of document files from various applications (e.g. mydoc.doc, a Word file). I would like to be able to include their affiliated icons in the list, perhaps their dates and file sizes, and be able to launch them in their native applications by clicking on them (as is done in the Windows Explorer).
>Are there appropriate API calls to accomplish this?
>Thanks.
Hi Jay,
If you have access to some back issues of FoxPro Advisor, you might want to look at last August's issue. I wrote and article titled "Using Windows to Create Windows" which explains how to display the icon associated with a file, as well as how to launch an application using ShellExecute() (as John mentioned).
You might also want to look at my File Runner program available in the UT download section under Win32 and Other APIs.
hth,
George
Ubi caritas et amor, deus ibi est