C#:在什么组件SHDocVw.WebBrowser_V1界定? [英] C#: In what assembly is SHDocVw.WebBrowser_V1 defined?

查看:590
本文介绍了C#:在什么组件SHDocVw.WebBrowser_V1界定?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它用在许多网站似乎都假定读者知道该怎么做有可用的这种类型,但我不知道。

It's used on several websites which all seem to assume the reader knows what to do to have this type available, but I have no clue.

示例站点,请参见第一个注释:
HTTP: //blogs.artinsoft.net/mrojas/archive/2008/09/18/newwindow2-events-in-the-c-webbrowsercontrol.aspx

Example site, see the first comment: http://blogs.artinsoft.net/mrojas/archive/2008/09/18/newwindow2-events-in-the-c-webbrowsercontrol.aspx

推荐答案

这不是一个集会,这是一个COM组件。项目+添加引用,浏览选项卡中,选择C:\windows\system32\shdocvw.dll。在Windows 7中挑在同一个目录,而不是shdocvw.tlb。这将生成与SHDOCVW命名空间中的COM组件互操作库。 WebBrowser_V1是你从得到的类型之一。

It's not an assembly, it's a COM component. Project + Add Reference, Browse tab, select c:\windows\system32\shdocvw.dll. In Windows 7 pick shdocvw.tlb in the same directory instead. This generates the interop library for the COM component with the SHDocVw namespace. WebBrowser_V1 is one of the types you'll get from that.

这篇关于C#:在什么组件SHDocVw.WebBrowser_V1界定?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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