>>I think the simplest solution would be to save the file and use the Process method.
As I stated before, this solution is not suitable.
>>Maybe not so bad if you have only a few specific file types to support. You could display images directly in .Net and there is a Word library you can use to effectively run Word from within your application.
I am not looking for an alternate way...
Main Topics
Browse All Topics





by: TiggeritoPosted on 2009-01-03 at 06:03:55ID: 23285246
What do you actually want to do with the images, word files etc.
You don't actually run documents. You would run an executable that can do something with a document. e.g. you would run Microsoft Word to edit a word document.
When you execute the file using a process. it actually determines which executable to run based on the file type then starts it with the file as an argument.
I think the simplest solution would be to save the file and use the Process method. It would be quite complex to write your own code to determine the files default executable, run it, then stream in the files data (where possible).
Maybe not so bad if you have only a few specific file types to support. You could display images directly in .Net and there is a Word library you can use to effectively run Word from within your application.