简体   繁体   English

VB.net中的DeskBand对象(任务栏工具栏)

[英]DeskBand Objects (Taskbar toolbar) in VB.net

I'm looking into figuring out how to add a deskband as a toolbar to my taskbar, very similar to the google desktop search toolbar. 我正在研究如何将桌面带作为工具栏添加到任务栏,与google桌面搜索工具栏非常相似。 All it needs to have is a search textbox, a button, and some way to display results. 它所需要的只是一个搜索文本框,一个按钮以及某种显示结果的方式。
I want to add it to an existing application, so that when the application is minimized it'll turn into a toolbar so that certain program functions will be available all the time. 我想将其添加到现有应用程序中,以便在最小化应用程序时将其变成工具栏,以便某些程序功能将始终可用。

This means that I have a few things to figure out: 这意味着我需要弄清楚一些事情:

  1. We mostly have windows xp machines, but we hope to upgrade to windows 7 over the next year. 我们主要拥有Windows XP机器,但我们希望在明年升级到Windows 7。 In light of this, should I keep researching deskbands, or should I try to figure out thumbnail toolbars? 有鉴于此,我应该继续研究台式带,还是应该尝试找出缩略图工具栏?

  2. I've seen a link to http://www.codeproject.com/KB/shell/dotnetbandobjects.aspx as one way to do it in C#, which I might be able to translate to VB.Net. 我已经看到了到http://www.codeproject.com/KB/shell/dotnetbandobjects.aspx的链接,这是在C#中执行此链接的一种方法,我也许可以将其转换为VB.Net。 I also found http://msdn.microsoft.com/en-us/library/dd378460%28VS.85%29.aspx#deskbands which kind of tells how to do things. 我还发现http://msdn.microsoft.com/en-us/library/dd378460%28VS.85%29.aspx#deskbands可以告诉您如何做事。 Is there a better way to accomplish this? 有没有更好的方法可以做到这一点?

  3. Should I just skip all of this and have a small windows form that opens up from an icon in the system tray? 我是否应该跳过所有这些,并使用一个小窗口窗体从系统任务栏中的图标打开?

Sorry if this isn't very clear, as I don't know enough about these to know the right questions to ask. 抱歉,如果不清楚,因为我对这些信息了解不足,无法知道要提出的正确问题。

Deskbands are still viable. 桌带仍然可行。 But keep in mind that since they're implemented as a DLL, you'll need a 64-bit version for 64-bit windows. 但是请记住,由于它们是作为DLL实现的,因此对于64位Windows,您将需要64位版本。 While most 64-bit computers ship with the 32-bit IE enabled by default, there is only one option for Windows Explorer itself - it'll be 64-bit. 虽然大多数64位计算机默认情况下都启用了32位IE,但Windows资源管理器本身只有一个选项-它是64位。 Most machines these days are shipping with 64. So while 99% of the apps out there do not need to be 64-bit right now, including plug-ins and toolbands for IE, you're out of luck with deskbands that need to be in the taskbar. 如今,大多数机器都附带64位。因此,尽管那里99%的应用程序现在不需要64位,包括IE的插件和工具带,但是对于需要使用在任务栏中。 Any DLL loaded by windows explorer (64) has to be 64-bit. Windows资源管理器(64)加载的任何DLL必须是64位。 And this applies to 90% of new desktops and laptops. 这适用于90%的新台式机和笔记本电脑。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM