Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Actually i am new in vb.net 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
Updated 3-Feb-13 23:11pm
v4
Comments
Sergey Alexandrovich Kryukov 4-Feb-13 3:38am    
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?
—SA

1 solution

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 c#.net[^],
Read a word file without using Interop.word dll...Do not want to install word in IIS..[^].

—SA
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900