Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alt-tab icon

Status
Not open for further replies.

BrianB

Programmer
Oct 2, 2000
186
US
Hello all,

Does anyone know how to set the icon your VB app uses in the alt-tab pane? I have a nice icon for my client’s app that appears in the corner of the window and on the status bar, but I have no such groovy icon for when they alt-tab through their applications. Any suggestions?

Thanks in advance.



_________________________________


Brian Begy
Developer
Chicago Data Solutions

tel: 773 350 8389
fax: 773 262 5163
email: brian@chicagodatasolutions.com
_________________________________
 
The .ico files can contain a number of different icons stored at different resolutions. Small icons (like what appear in the system menu) are 16x16 pixels. Large icons (like what appear in the alt-tab task switcher) are 32x32. Both of these are 256 colors. I use the icon editor in Visual C++, but I think VB has an add-in that can edit icons too.

Chip H.
 
Thanks Chip,

Actually, the problem isn't with editing the icon. I have the icon as an *.ico file. I tied it to the VB Forms by setting their icon property. I set the application's icon property to one of the forms' icon property. Hwoever, the alt-tab pane still displays a nasty little DOS icon instead of my custom one. Any ideas?

-Brian

 
When you open Windows Explorer and navigate to the folder where your program is, what happens when you change the view from "Small icons" to "Large icons" ?

Chip H.
 
Hello,
Seems that Chip has very good suggestion of what could be the problem.
Have you tried to set for your applictaion one of the .ico files shipped with Visual Studio - they for sure all have 2 graphics inside - 16x16 and 32x32. (directory is
<drive_letter>:\Program Files\Microsoft Visual Studio\Common\Graphics\Icons )
If with shipped .ico file there is no problem, then you have to edit your customer supplied .ico file.
If with shipped .ico file is problem, then I'll be glad to hear another suggestions.
Hope this helps.
D.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top