Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
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 Smile | :)
Posted 3-Feb-13 21:35pm
Edited 3-Feb-13 23:11pm
v4
Comments
Sergey Alexandrovich Kryukov at 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

Rate this: bad
good
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 c#.net[^],
Read a word file without using Interop.word dll...Do not want to install word in IIS..[^].
 
—SA
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 400
1 Maciej Los 258
2 OriginalGriff 255
3 CHill60 217
4 Sinisa Hajnal 125


Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2014
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