如何使用C#代码添加按钮Internet Explorer [英] How to add button Internet Explorer using C# code

查看:159
本文介绍了如何使用C#代码添加按钮Internet Explorer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想向Internet Explorer添加一个按钮(就像IE中的收藏夹"中心按钮).
该按钮用于执行以下功能.
1.First op IE
2.单击新创建的按钮.
3.然后,它应该获取浏览器URL并使用带有时间戳的URL更新C:\ log.txt文件.
4.如果浏览器URL为空,则无需更新日志文件.

谁能帮帮我.

在此先感谢........

Hi all,

I want to add a button to Internet Explorer(it will be like Favorites center button in IE).
That button is used to perform the following functionality.
1.First op IE
2.Click the newly created button.
3.Then it should get the browser URL and update the C:\log.txt file with URL with timestamp.
4.If browser URL is empty,then no need to upadte the log file.

Can any one help me out.

Thanks in advance........

推荐答案

这是您要寻找的?按钮只能添加到IE中的工具栏.您可以创建自己的获胜的自定义工具栏,并在其中添加按钮..

http://msdn.microsoft.com/en-us/library/aa753588 (v = VS.85).aspx


http://windowsdevcenter.com/pub/a/windows/2005/04/26/ie_buttons.html

http://www.vistaheads.com/forums/microsoft-public-internetexplorer-general/443306-add-user-customized-toolbar-button-ie-7-a.html http://www.add-in-express.com/docs/internet-explorer- toolbars.php

http://social.msdn.microsoft.com/论坛/en-us/ieextensiondevelopment/thread/21F38301-6475-47F7-AF06-23812E144068
This is what you are looking for? Buttons could be added only to the toolbars in IE.. You could have your won custom toolbar created and add buttons there too..

http://msdn.microsoft.com/en-us/library/aa753588(v=VS.85).aspx


http://windowsdevcenter.com/pub/a/windows/2005/04/26/ie_buttons.html

http://www.vistaheads.com/forums/microsoft-public-internetexplorer-general/443306-add-user-customized-toolbar-button-ie-7-a.html


http://www.add-in-express.com/docs/internet-explorer-toolbars.php

http://social.msdn.microsoft.com/forums/en-us/ieextensiondevelopment/thread/21F38301-6475-47F7-AF06-23812E144068


这篇关于如何使用C#代码添加按钮Internet Explorer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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