如何在窗口应用程序中的Microsoft Web Brower控件内打开Word文档 [英] How to Open Word Document Inside the Microsoft Web Brower control in window application

查看:116
本文介绍了如何在窗口应用程序中的Microsoft Web Brower控件内打开Word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用VS2008,vb.net,Office 2007和Window 7(OS).

如何使用vb.net在"Microsoft Web浏览器"控件中打开Word文档.
我也遵循了此链接...

http://support.microsoft.com/kb/304643

通过使用VS 2008,vb.net,Office 2003和Win Xp在"Microsoft Web浏览器"控件中打开Word文档.但是无法通过VS2008,vb.net office 2007和Win 7在"Microsoft Web浏览器"控件中打开.

如何使用VS2008,vb.net,Office 2007和Wind 7在"Microsoft Web浏览器"控件中打开thats word doc.

致谢!
mukesh

Hi All,

I am using VS2008, vb.net, Office 2007 and Window 7 (OS).

How can open word document inside the "Microsoft Web Browser" control using vb.net.
i have followed this link also...

http://support.microsoft.com/kb/304643

Word document open inside the "microsoft web browser" control by using VS 2008,vb.net, office 2003 and Win Xp. but it is not open inside the "microsoft web browser" control by using VS2008,vb.net office 2007 and Win 7.

how can do thats word doc open inside the "microsoft web browser" control by using VS2008,vb.net, office 2007 and Wind 7.

Thanks nd Regards
mukesh

推荐答案

使用Content-type to ''application/msword''将文档发送到客户端时,默认注册的处理程序将打开该文档.这意味着已安装id Word,很可能会使用Word打开它.

一些其他信息:
http://www.shaunakelly.com/word/sharing/opendocinie.html [ ^ ]

祝你好运!
When you send the document to the client with Content-type to ''application/msword'', it will be opened by the default handler that is registered. This means that id Word is installed, it will be likely to be opened with Word.

Some additional info:
http://www.shaunakelly.com/word/sharing/opendocinie.html[^]

Good luck!


这篇关于如何在窗口应用程序中的Microsoft Web Brower控件内打开Word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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