自定义IE工具栏IE6 C# [英] Custom IE Toolbar IE6 C#

查看:66
本文介绍了自定义IE工具栏IE6 C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为IE6开发一个工具栏。我引用了 http:中提供的示例项目

。 //www.codeproject.com/csharp/dotnetbandobjects.asp


msdn文章创建自定义浏览器栏,工具栏和桌面乐队。我已按照说明操作并使用gacutil将samplebar.dll和

bandobjectslib.dll安装到GAC中,并执行了一个regasm

上的samplebar.dll。做完这些事后,我确实看到了

View->工具栏和所有其他位置下的菜单项。我的问题是,在点击工具栏后,单击工具栏后,桌面带没有任何反应。点击资源管理器栏下的

一个我在底部有一个空白的水平带。这些

乐队应该包含一个按钮,根据示例和我可以从代码中确定的
。我已经查看了codeproject上的帖子,看到

另一个人遇到过这个问题,但还没有收到

回复。我已经确认注册表项符合预期

。任何帮助,如这些类型的应用程序的调试技巧将是最有帮助的
。下面是我的系统和编译器信息。


Windows XP专业版SP2

Internet Explorer 6 SP2

Visual Studio 2005标准版

I am developing a toolbar for IE6. I have referenced the sample project
provided at http://www.codeproject.com/csharp/dotnetbandobjects.asp and the
msdn article "Creating Custom Explorer Bars, Tool Bands, and Desk Bands". I
have followed the instructions and installed the samplebar.dll and the
bandobjectslib.dll into the GAC using gacutil as well as performed a regasm
on the samplebar.dll. After doing these things I do see the menu items under
View->Toolbars and under all the other locations. My problem is that after
clicking the toolbar one and the deskband nothing happens. When clicking the
one under "explorer bar" I get a blank horizontal band at the bottom. These
bands should include a button according to the sample and from what I can
determine from the code. I have reviewed posts on codeproject and see that
one other person has experienced this issue but has yet to receive a
response. I have confirmed that the registry entries match what is expected
also. Any help such as debugging tips for these types of applications would
be most helpful. Below is my system and compiler info.

Windows XP Pro SP2
Internet Explorer 6 SP2
Visual Studio 2005 Standard

推荐答案

EmeraldShield,


我会选择不将程序集放在GAC中(用于调试)和<使用REGASM注册时使用/ codebase选项获得



然后,你可以在调试器中运行你的项目,然后运行IE,你就可以了>
应该可以调试它。


希望这会有所帮助。

-

- Nicholas Paldino [ .NET / C#MVP]

- mv*@spam.guard.caspershouse.com


" EmeraldShield" < EM *********** @ noemail.noemail>在消息中写道

news:e1 ************** @ TK2MSFTNGP05.phx.gbl ...
EmeraldShield,

I would opt to not place the assembly in the GAC (for debugging) and
when registering using REGASM use the /codebase option.

Then, you can run your project in the debugger, and then run IE, and you
should be able to debug it.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"EmeraldShield" <em***********@noemail.noemail> wrote in message
news:e1**************@TK2MSFTNGP05.phx.gbl...
我正在开发一个工具栏对于IE6。我引用了 http:// www。提供的示例项目
。 codeproject.com/csharp/dotnetbandobjects.asp

msdn文章创建自定义浏览器栏,工具栏和桌面乐队。我已按照说明操作并使用gacutil将samplebar.dll和
bandobjectslib.dll安装到GAC中,并在samplebar.dll上执行了regasm
。完成这些操作后,我会在View->工具栏下以及所有其他位置下看到菜单项
。我的问题是,点击工具栏后,桌面带没有任何反应。当点击资源管理器栏下面的那个时,我在底部有一个空白的水平带。这些乐队应该包括一个根据样本的按钮,以及我可以从代码中确定的内容。我已经查看了
codeproject上的帖子,看到另一个人遇到过这个问题但是还没有收到回复。我已经确认注册表项也符合预期。任何帮助,如这些类型的应用程序的调试技巧将是最有帮助的。下面是我的系统和
编译器信息。

Windows XP专业版SP2 SP2 Internet Explorer 6 SP2
Visual Studio 2005标准版
I am developing a toolbar for IE6. I have referenced the sample project
provided at http://www.codeproject.com/csharp/dotnetbandobjects.asp and the
msdn article "Creating Custom Explorer Bars, Tool Bands, and Desk Bands". I
have followed the instructions and installed the samplebar.dll and the
bandobjectslib.dll into the GAC using gacutil as well as performed a regasm
on the samplebar.dll. After doing these things I do see the menu items
under View->Toolbars and under all the other locations. My problem is that
after clicking the toolbar one and the deskband nothing happens. When
clicking the one under "explorer bar" I get a blank horizontal band at the
bottom. These bands should include a button according to the sample and
from what I can determine from the code. I have reviewed posts on
codeproject and see that one other person has experienced this issue but
has yet to receive a response. I have confirmed that the registry entries
match what is expected also. Any help such as debugging tips for these
types of applications would be most helpful. Below is my system and
compiler info.

Windows XP Pro SP2
Internet Explorer 6 SP2
Visual Studio 2005 Standard



好的,我现在可以调试应用程序了。我现在的情况是,在设置

基本信息(minsize,title等)后,资源管理器通过

CloseDW处理我。我从未在界面上看到任何其他功能,也没有看到

OnExplorerAttached事件被调用。是否有一个样本解决方案,微软为.NET下的IE工具栏开发提供了什么?


Nicholas Paldino [.NET / C#MVP]" < mv*@spam.guard.caspershouse.com>写在

消息新闻:%2 *************** @ TK2MSFTNGP03.phx.gbl ...
Ok, I can now debug the app. My situation now is that after setting the
basic information (minsize, title, etc.) Explorer is disposing me via
CloseDW. I am never seeing any other functions on the interface nor the
OnExplorerAttached event get called. Is there a sample solution that
Microsoft provides for IE Toolbar development under .NET?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2***************@TK2MSFTNGP03.phx.gbl...
EmeraldShield,

我选择不将程序集放在GAC中(用于调试)和
使用REGASM注册时使用/ codebase选项。

然后,你可以运行您的项目在调试器中,然后运行IE,并且您应该能够调试它。

希望这会有所帮助。

-
- Nicholas Paldino [.NET / C#MVP]
- mv*@spam.guard.caspershouse.com

EmeraldShield < EM *********** @ noemail.noemail>在消息中写道
新闻:e1 ************** @ TK2MSFTNGP05.phx.gbl ...
EmeraldShield,

I would opt to not place the assembly in the GAC (for debugging) and
when registering using REGASM use the /codebase option.

Then, you can run your project in the debugger, and then run IE, and
you should be able to debug it.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"EmeraldShield" <em***********@noemail.noemail> wrote in message
news:e1**************@TK2MSFTNGP05.phx.gbl...
我正在为IE6开发一个工具栏。我引用了 http:// www。提供的示例项目
。 codeproject.com/csharp/dotnetbandobjects.asp
和msdn文章创建自定义浏览器栏,工具栏和桌面
乐队。我按照说明操作并使用gacutil将samplebar.dll
和bandobjectslib.dll安装到GAC中,并对samplebar.dll执行了regasm。完成这些操作后,我会在View->工具栏下以及所有其他位置下看到菜单
项目。我的问题
是点击工具栏之后,桌面工作带没有任何反应。
点击资源管理器栏下面的那个。我在底部有一个空白的水平带
。这些乐队应该包括一个按钮,根据样本
和我可以从代码中确定。我已经查看了
codeproject上的帖子,看到另一个人遇到过这个问题但是还没有收到回复。我已经确认注册表项也符合预期。任何帮助,如这些类型的应用程序的调试技巧将是最有帮助的。下面是我的系统和
编译器信息。

Windows XP专业版SP2 SP2 Internet Explorer 6 SP2
Visual Studio 2005标准版
I am developing a toolbar for IE6. I have referenced the sample project
provided at http://www.codeproject.com/csharp/dotnetbandobjects.asp and
the msdn article "Creating Custom Explorer Bars, Tool Bands, and Desk
Bands". I have followed the instructions and installed the samplebar.dll
and the bandobjectslib.dll into the GAC using gacutil as well as performed
a regasm on the samplebar.dll. After doing these things I do see the menu
items under View->Toolbars and under all the other locations. My problem
is that after clicking the toolbar one and the deskband nothing happens.
When clicking the one under "explorer bar" I get a blank horizontal band
at the bottom. These bands should include a button according to the sample
and from what I can determine from the code. I have reviewed posts on
codeproject and see that one other person has experienced this issue but
has yet to receive a response. I have confirmed that the registry entries
match what is expected also. Any help such as debugging tips for these
types of applications would be most helpful. Below is my system and
compiler info.

Windows XP Pro SP2
Internet Explorer 6 SP2
Visual Studio 2005 Standard




嗨EmeraldShield,


谢谢发帖!


基于我的理解,问题是你基于流行的代码项目样本为IE6开发了一个C#工具栏

插件。但是您的插件

无法在界面上看到任何其他功能,也无法调用

OnExplorerAttached事件。如果我误解了,请纠正我。


因为IE6工具栏插件是一个shell编程问题,所以使用a开发它会更方便

本土程序。所以目前我们还没有b $ b为.NET下的IE工具栏开发提供示例解决方案。 Pavel

Zolnikov的样本在这样的领域是一个很好的样本。


为了解决这个问题,请你提供更详细的

关于你的程序的信息,你如何实现插件,你的

方法与Pavel的样本有很大不同吗?

谢谢!


祝你好运,

Gary Chang

微软在线社区支持

================================================= =

在回复帖子时,请回复群组通过你的新闻阅读器

其他人可以从你的问题中学习并从中受益。

==================== ==============================

此帖子按原样提供。没有保证,也没有授予任何权利。

Hi EmeraldShield,

Thank you posting!

Based on my understanding, the problem is you developed a C# toolbar
plug-in for IE6 based on a popular codeproject sample. But your plug-in
could not seeing any other functions on the interface nor the
OnExplorerAttached event get called. Please correct me if I misunderstood.

Since the IE6 toolbar plug-in is a shell programming issue, and it would be
more convenient to develop with a native program. So currently we don''t
have a sample solution for IE Toolbar development under .NET. The Pavel
Zolnikov''s sample is an excellent sample on such a field.

In order to isolate this problem, would you please provide more detailed
info about your program, how do you implement the plug-in, does your
approach have much difference from Pavel''s sample?
Thanks !

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


这篇关于自定义IE工具栏IE6 C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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