Web中System.Windows.Forms.WebBrowser的替代方法 [英] What is alternate to System.Windows.Forms.WebBrowser in web

查看:341
本文介绍了Web中System.Windows.Forms.WebBrowser的替代方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Web应用程序中是否可以替代System.Windows.Forms.WebBrowser.

请注意,
Vicky

Is there any alternative to System.Windows.Forms.WebBrowser in web application.

Regards,
Vicky

推荐答案

System.Windows.Forms.WebBrowser中潜在的ActiveX控件,可以为您提供一些其他功能.添加对Interop.SHDocVw.dll的引用(应位于.Net参考菜单中)并将System.Windows.Forms.WebBrowser.ActiveXInstance强制转换为SHDocVw.WebBrowser.
There is an underlying ActiveX control in the System.Windows.Forms.WebBrowser that could get you some additional functionality.  Add a reference to Interop.SHDocVw.dll (should be in the .Net reference menu) and cast System.Windows.Forms.WebBrowser.ActiveXInstance to a SHDocVw.WebBrowser.


这篇关于Web中System.Windows.Forms.WebBrowser的替代方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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