适用于 Windows 7 的桌带 [英] Deskband for Windows 7

查看:38
本文介绍了适用于 Windows 7 的桌带的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在遵循 教程后,我为 Windows XP 创建了一个桌面带在代码项目中.它完美无缺.但是,有些用户使用 Windows 7,他们发现他们无法使用我创建的桌面带.谁能告诉我如何解决这个问题?

I have created a deskband for Windows XP after following the tutorial in codeproject. It works perfect. However, some of the users use Windows 7 and they found they cannot use the deskband I created. Could anyone let me know how to fix the problem?

更新:Windows 7 用户安装deskband(msi 文件)后,无法在Windows 工具栏中看到它(在任务栏上单击鼠标右键> 工具栏> ).不过,桌面带在 Windows 7 的 IE 工具栏中可见(BandObject 为 Windows 工具栏和 IE 工具栏创建桌面带).

Update: After the Windows 7 users installed the deskband (msi file), they cannot see it in the windows toolbars (right click mouse on taskbar > toolbars > ). The deskband is visible in the toolbar in the IE in Windows 7 though (The BandObject creates deskband for windows toolbar and for IE toolbar) .

谢谢!

推荐答案

由于 Shell 扩展是 COM 对象,因此您应该能够在它工作的机器上或您的项目/构建中的注册表中找到用于标识对象的 GUID文件.通过搜索注册表或使用 OLE-COM 对象查看器之类的工具,确保它在 Windows 7 计算机上正确注册.

Since Shell extensions are COM objects you should be able to find the GUID used to identify the object in the registry on machines where it works or in your project/build files. Make sure it is getting registered correctly on the Windows 7 machines by searching the registry or using something like the OLE-COM Object Viewer.

使用详细日志记录运行您的 MSI 文件,以查明是否存在安装问题.桌面带需要正确注册,这可能会失败,具体取决于它的注册方式.

Run you MSI file with verbose logging to find out if there are installation problems. The deskband needs to be registered correctly and this could fail silently depending on how it is being registered.

正如我在上面的评论中所说,在托管 (.NET) 代码中编写扩展一直是一个问题.不过,有些人可以侥幸逃脱.

As I said in my comment above, writing extensions in managed (.NET) code has historically been a problem. Some people can get away with it though.

这篇关于适用于 Windows 7 的桌带的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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