Windows 7,VB6,启动器应用程序和固定到任务栏 [英] Windows 7, VB6, Launcher App and Pinning to the Taskbar

查看:233
本文介绍了Windows 7,VB6,启动器应用程序和固定到任务栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个带有启动器"应用程序的应用程序,该应用程序具有漂亮的UI,而主应用程序则在后台加载.这两个应用程序都是用VB6(叹气)编写的.

We have an application that has a "launcher" app that sits there with a pretty UI while the main app loads in the background. Both of these apps are written in VB6 (sigh).

在Windows 7中,如果用户固定启动器程序,我们将在任务栏上看到两个不同的图标(一个用于主应用程序,然后一个固定在启动器程序图标).这看起来很奇怪.

In Windows 7, if user's pin the launcher program, we get two different icons on the taskbar (one for the main app, and then the pinned icon for the launcher program). This looks very odd.

我尝试使用以下功能: http://msdn.microsoft.com/zh-cn/library/dd378422%28VS.85%29.aspx 至今无济于事.

I've tried using the following function: http://msdn.microsoft.com/en-us/library/dd378422%28VS.85%29.aspx to no avail so far.

我给了两个相同的名称(Company.Product),如文档中所建议,并且在弹出任何UI之前.如果我在启动器应用程序运行时将其固定,则可以正常运行.如果我将启动器的可执行文件固定,就会得到两个图标.

I gave both the same name (Company.Product), as advised in the documentation, and before any UI pops up. If I pin the launcher app while it is running, this works fine. If I pin the executable for the launcher, I get two icons.

关于如何修复它的任何想法,以便用户可以仅固定启动器exe,一切都很好?

Any ideas on how to fix it such that I can users could just pin the launcher exe and all is good?

推荐答案

为什么有两个单独的可执行文件(特别是当它们以相同语言编写时).为什么不将启动器与主应用程序"合并,并做一些线程化操作以使主应用程序在启动器显示标题屏幕等时真正启动.等等.创建启动器的教程很多.​​

Why have two separate executables (particularly when they are written in the same language). Why not merge the launcher in with the "main application" and do some threading to have the main app actually start while the launcher is displaying a title screen, etc. There are number of tutorials for creating launchers.

这篇关于Windows 7,VB6,启动器应用程序和固定到任务栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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