如何创建浏览预览按钮 [英] how to create a browse preview button

查看:81
本文介绍了如何创建浏览预览按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


其实我是vb.net的新手,所以我需要一些帮助

在我的应用程序中,我需要一个浏览按钮,我们可以浏览任何类型的文件
然后预览它,我们可以看到我们浏览了哪个文件(根据文件扩展名打开文件扩展名为办公室文档和pdf adobe reader等)

任何建议请

thnx提前:)

解决方案

Office文档是专有的(即使更高版本是标准化的,第三方产品也可以使用它们,但它对于所有平台都应该适用的Web标准化来说,这还不够,所以你不能直接在Web应用程序中展示它们。



但是,你可以代表预览作为HTML模仿。有关一些想法,请参阅我过去的答案:

将Office文档转换为PDF没有互操作 [ ^ ] ,

如何使用c#.net 在Windows应用程序中显示word文件[ ^ ],

在不使用Interop.word dll的情况下读取word文件...不想在IIS中安装单词。 [ ^ ]。



-SA

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 :)

解决方案

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


这篇关于如何创建浏览预览按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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