I want to add a document preview to my application. I currently have an app that shows a list of various document types in a list. These documents could be, but are not limited to: Word Docs, Excel Docs, PowerPoints, PDFs and Images(various types).
Currently if the user double clicks the item, it will open in its native application and the user can edit and save. I would like to implement a preview window to the right of the document list, so that when the user single clicks on the item in the list, it will preview in the window on the right.
I played a little with inserting an ole object, but this seems really clunky. I have only done this with PDFs and I assume I would have to change the ole object based on what file type is selected to an appropriate ole object control based on type.
Is there a way to just generically pop a preview with no edit capabilities, just basic scroll up/dn view of an external file?
Thanks
Rick
Where can I find them?
Not in the Shared folder. GAC_32 og GAC_MSIL
Now the application just crashes.
I think I'll revert back to the old OLE control for now.