Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 657
  • Last Modified:

.net Document Viewer Control

Need a control to put on a VB.net form that will allow viewing of various types of documents including Word, Excel, .txt and .pdf
We want this to be read only, and do not want to invoke the associated app

EXACTLY the same question as previously asked on this site (but not bothered about the SQL part), but 9 years later..
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Controls/Q_10226625.html
original answers no longer exist!

thanks

Mark
0
MarkPerry38
Asked:
MarkPerry38
  • 5
  • 2
  • 2
  • +2
1 Solution
 
SQL_SERVER_DBACommented:
use the reportviewer
0
 
MarkPerry38Author Commented:
but I want to view doc files etc, not sql reports?  
0
 
Éric MoreauSenior .Net ConsultantCommented:
maybe the WebBrowser control (but for sure the associated application will be started in the background).
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
MarkPerry38Author Commented:
thanks emoreau but no, we can't use the WebBrowser control (we are using it now but need to change!) for the very reason you give, and ALSO you can't use the WebBrowser in ReadOnly mode, it locks any documents you are viewing so no-one else can see them
0
 
Éric MoreauSenior .Net ConsultantCommented:
I don't know any other Universal reader then
0
 
Wayne Taylor (webtubbs)Commented:
I doubt very much there is a control that can open each of your files independently of it's associated associated app. There's a reason why the associated app is opened - that's what's used to read the files. Each file is different, and requires different methods for viewing.

Wayne
0
 
Wayne Taylor (webtubbs)Commented:
What's wrong with the associated app opening anyway?
0
 
MarkPerry38Author Commented:
Wayne, we just want a small viewer pane in our application that gives a preview of a selected document, in a folder of docs that needs the user's attention.  The docs can be many types.  If the associated app opens the doc, it's very slow and user has to keep closing apps till he finds the doc he's interested in.  We also lose focus from our app.

We are 70% there using the WebBrowser control, apart from the problems I described in the first place.
As I said, a couple of controls were mentioned in the post I found from 9 years ago, but of course these don't exist any more!

There are apps such as QuickView that do the job, but I don't think it's available as a control to put on a form, which is what we want.

Msrk
0
 
auyukselCommented:
Hi, you can use stellent, lets say oracle's stellent because oracle bought them on 2006, outside in technology library. it is the best for developer that I know, supports various kind of document types and easy to use.
0
 
MarkPerry38Author Commented:
thanks, looks perfect
0
 
MarkPerry38Author Commented:
thanks auyuksel, that looks just the job. you're right, easy to use.  Even though it claims to be a VB5 and C++ solution, the activeX drops on .net forms no problem.
0
 
auyukselCommented:
You are welcome Mark. You can use it in .net by focusing on SCCWrap.SCCWindow   methods.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 5
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now