Taskbar grouping for VB Forms?

M

Mike Loux

I am developing an application which will have one master window and
one or more subordinate windows, much in the same vein as Outlook,
where you have the main Outlook window, and then any open
message/meeting/etc windows.

Now, when there are so many windows open that XP starts grouping
applications on the Taskbar, the Outlook windows get grouped under a
single taskbar button with a caption of "Microsoft Office Outlook" and
the number of windows to the left of the caption. My application,
however, just shows the number of windows, and no caption whatsoever.

What do I need to do to set this to read something a little more
user-friendly (like, perhaps, the name of the application)?

Thanks for any help you can give!

Slainte!
-Mike
 
H

Herfried K. Wagner [MVP]

Mike Loux said:
Now, when there are so many windows open that XP starts grouping
applications on the Taskbar, the Outlook windows get grouped under a
single taskbar button with a caption of "Microsoft Office Outlook" and
the number of windows to the left of the caption. My application,
however, just shows the number of windows, and no caption whatsoever.

What do I need to do to set this to read something a little more
user-friendly (like, perhaps, the name of the application)?

<URL:http://www.google.es/[email protected]>
 
M

Mike Loux

sonofagun, and I had even done a general newsgroup search on "Taskbar
grouping". Of course, the idea of a Windows Forms newsgroup never even
occurred to me. Guess I just didn't scroll through enough pages...

Well, I had already set the Assembly Title attribute (though not for
this reason; I just wanted to be thorough), and a reboot didn't cure
it. So I guess we can add my name to the list of people who can't get
this to work.

Thanks for your speedy reply! Now if only someone could help solve my
Outlook problem I posted the other day... :)
 
C

Crouchie1998

That link Herfried supplied is just someone asking the same question & no
actual answer

Crouchie1998
BA (HONS) MCP MCSE
 
M

Mike Loux

yeah, I figured that out; just went and hit "view entire thread" (or
the Spanish equivalent; that's kind of cool in itself).

Unfortunately, as I mentioned in my previous message; I already had
that value set in my AssemblyInfo file, and another person mentioned
that it worked on some applications and not on others. Sure as heck
didn't work for me. Now I guess we need to find a pattern...

Slainte!
-Mike
 
M

Mike Loux

OK, the grouping title seems to be controlled by a value in the
following registry group:

HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache.

It's keyed on the full path to the file name of the executable created
by VS.NET. Deleting that entry will then force Windows to refresh the
info from the executable the next time you load it, which will cause
the name you specify in AssemblyInfo.vb to show up.

Unfortunately, it does NOT update the icon with what you specify in
your Project Properties screen. However, I'm not going to give up.
I'll bet it's stored in the registry somewhere as well. I will keep
you all posted with what I find.

Slainte!
-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top