Web浏览器控件以外的文档查看器 [英] Document Viewer aside from Web Browser Control

查看:105
本文介绍了Web浏览器控件以外的文档查看器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好,我有一个可以上传和预览图像文件,电子演示文稿,单词dument,excel文件和pdf文件的应用程序.在我的程序中,我使用了Web浏览器控件,并且正计划更改组件或升级软件.除了Web浏览器控件外,我还能用来预览那些文件类型吗?顺便说一句,我使用了VB.Net 2003(Visual Basic).任何建议和评论将不胜感激.

Good day, i have an application which can upload and preview image files, e-presentations, word duments, excel files and pdf files. On my program i used Web Browser Control and I''m planning to change the component or upgrade the software. Aside from Web Browser Control, what else can I use to preview those file types? By the way, i used VB.Net 2003 (Visual Basic). Any suggestions and comments will be appreciated.

推荐答案

Web浏览器控件能够执行此操作的唯一原因是因为它实际上是Internet Explorer的COM实例,而您为这些特定的文档类型安装了适当的应用程序和查看器.

如果您没有在计算机上安装Office,则在安装Office或Excel | Word | PowerPoint | ...查看器之前,您将无法查看Excel,Word,PowerPoint,...,文档.应用程序/控件.

.NET Framework中没有其他控件可以针对您指定的各种文档类型执行此操作.您必须使用一些第三方控件或一组控件才能做到这一点.

我没有任何经验,所以我无法提出建议.
The only reason the Web Browser control can do it is because it''s actually a COM instance of Internet Explorer and you have the appropriate applications and viewers for those specific document types installed.

If you didn''t have Office installed on the machine, you wouldn''t be able to view Excel, Word, PowerPoint, ..., documents until you installed either Office or the Excel|Word|PowerPoint|... Viewer applications/controls.

There isn''t another control in the .NET Framework that can do this for the various document types you specified. You''d have to go with some 3rd party control, or suite of controls, to do it.

I don''t have any experience with any of them so I can''t make a recommendation.


这篇关于Web浏览器控件以外的文档查看器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆