Imitating Windows Explorer

M

Marian

I created the code to do a customized filesearch on our
file server and display the results in a listview
control. Is there an easy way to open the file a user
selects from the list regardless of what kind of file it
is (Office, text, PDF, .bmp, etc.)? In other words, I
would like to be able to open the selected file as if I
had double-clicked it in Windows Explorer. If there isn't
an easy way to do this, what would be your recommended
approach to doing this? I know that invoking IE brings up
the file but I need to open the file in an application
where it can be edited. Invoking Windows Explorer brings
up a window with the file highlighted, but it doesn't open
it.

I have Office XP and my experience is limited to VBA.

Any suggestions are appreciated!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top