如何在wpf c sharp项目中添加AxSHDocVw.dll引用 [英] how to add AxSHDocVw.dll reference in wpf c sharp project

查看:100
本文介绍了如何在wpf c sharp项目中添加AxSHDocVw.dll引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为gmail帐户自动登录制作一个小项目..我必须在我的项目中添加AxSHDocVw.dll,如不同论坛上的现有代码所示..可以任何机构帮助我如何添加提到的库。我无法找到它...

i am trying to make a small project for auto sign-in to gmail account.. i have to add AxSHDocVw.dll in my project as shown in the existing codes on different forums.. can any body help me out how to add the mentioned library. i cannot locate it...

推荐答案

找到aximp.exe的位置(在我的电脑上,它位于C:\Program Files(x86)\ Microsoft SDKs \ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ dll

这将在相应位置生成SHDocVw.dll和AxSHDocVw.dll ...您现在可以添加对这些文件的引用并访问C#中的正确控件。

实际使用axwebbrowser ...自定义工具箱并为Microsoft Web浏览器启用COM组件。这将允许您添加AxWebBrowser控件(在工具箱中显示为Microsoft Web浏览器)。



参考:我在哪里可以下载AxSHDocVw.dll? [ ^ ]
Find the location of aximp.exe (on my computer, it was at C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin)
At an elevated command prompt, navigate to the aximp location and execute the following command: aximp %WINDIR%\system32\shdocvw.dll
This will generate SHDocVw.dll and AxSHDocVw.dll in the respective location... you can now add a reference to these files and access the proper control within C#.
To actually utilize the axwebbrowser... customize the toolbox and enable a COM Component for the "Microsoft Web Browser". This will allow you to add the AxWebBrowser control (shows up in the toolbox as "Microsoft Web Browser").

reference: where can I download AxSHDocVw.dll ?[^]


GOOGLE SEARCH [ ^ ]。


这篇关于如何在wpf c sharp项目中添加AxSHDocVw.dll引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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