Click here to Skip to main content
13,092,862 members (100,757 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Actually i am new in so i need some help
In My application i need a button for browse by which we can browse any type of file
then preview it by which we can see what file we had browse (and open it according to file extension as doc on office and pdf in adobe reader etc)
any suggestion pls
thnx in advance :)
Posted 3-Feb-13 21:35pm
Updated 3-Feb-13 23:11pm
What is "browse preview"? what is "browse a file"? Is it the same as "file preview"?
"Any file" sounds like a big exaggeration... what would it possibly mean?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Office documents are proprietary (even though later versions are standardized and 3rd-party products work with them, but it's not enough for Web standardization where everything should work for all platforms), so you cannot present them in a Web application directly.

However, you can represent preview as HTML imitation. For some ideas, please see my past answers:
Convert Office-Documents to PDF without interop[^],
Hi how can i display word file in windows application using[^],
Read a word file without using Interop.word dll...Do not want to install word in IIS..[^].


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100