473,385 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Custom Icon not displaying in Task Switcher

I am using VB.Net with Visual Studio 2005 to create an application. I set the application's icon by:

1. Clicking on the project.
2. Selecting View >> Property Pages.
3. Selecting the Application page.
4. Selecting <browse> from the "Icon" drop-down menu.
5. Selecting the .ico file I created using an third-party tool.

Things almost work correctly. When I start the program, I see the icon in the upper left hand corning of the application's window. I also see the the icon in the window's program bar at the bottom of the screen. However, when I press Alt-Tab, a blank space is located where the program's icon would normally be located.

Any guess what is wrong? I've tried using both 16x16 and 32x32 .ico files.

Thanks
Matt
Nov 16 '07 #1
5 25237
After playing around some more, I've noticed that when I change the icon selection as described above nothing actually happens. No matter what I set the icon to, the original 16x16 icon I selected remains the icon. Even if I select (default). Any body have a guess what is going on here?

Since I am not actually changing the icon, I have not been trying the 32x32 icon as I thought. (they look the same, so tough to tell.)

Even if I start a new project, I am unable to change the icon from the default icon. However, somehow I got the icon of the original project to switch to my custom 16x16 one.

thanks
Nov 17 '07 #2
After playing around some more, I've noticed that when I change the icon selection as described above nothing actually happens. No matter what I set the icon to, the original 16x16 icon I selected remains the icon. Even if I select (default). Any body have a guess what is going on here?

Since I am not actually changing the icon, I have not been trying the 32x32 icon as I thought. (they look the same, so tough to tell.)

Even if I start a new project, I am unable to change the icon from the default icon. However, somehow I got the icon of the original project to switch to my custom 16x16 one.

thanks
After a little more poking around, I've discovered that I am setting the executable's icon but not the icon displayed in the window. Any body know how to do that? I must have known at one point...
Nov 17 '07 #3
Figured it out, to set the what I want, I must set the Form's icon property.
Nov 19 '07 #4
Plater
7,872 Expert 4TB
Mighta saved you some headache:
http://www.thescripts.com/forum/thread648181.html
Nov 19 '07 #5
ALX1
2
Matttsh, I don't know if you're still out there 5 years later...
I just wanted to thank you for continuing to post your issue and your results experimenting with various fixes, even though you weren't generating a response here. I have been searching for many days for the answer to this same problem. Many forums... hundreds of posts... MSDN and the works... many, many hours... and you are the only one who solved this issue for me. For those who quit posting after not receiving an answer to their questions, take a lesson from mattsch. Here it is, nearly 5 years later and he has really helped me out.
Thank You!
Jul 22 '12 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Russ via AccessMonster.com | last post by:
Can someone tell me how to change the icon in the windows task bar? I already figured out how to do it in the forms, and shortcuts but the windows task bar still says Microsoft Access, I only want...
1
by: Alice | last post by:
Hi all How can i change the status bar icon for my website Or The icon shown in user's Task Manager for the browser process fetching my website Thanks in Advance Alic
0
by: csharpnewbie via DotNetMonster.com | last post by:
Hi I am developing a Windows App in C#.Net. At run-time when I press ALT-TAB to view the task list the icon for my app is black or sometimes even not there. It does take up a spot in the task...
0
by: Marcel Brekelmans | last post by:
Hello, I'm making an application, but sofar I can't get its icon to appear in the task switcher. I have created an iconfile with three icons in it: 16x16, 32x32, 48x48, 24bpp. I have assigned it...
1
by: Gary Brown | last post by:
Hi, How do you keep an application from displaying its icon in the Task Switcher menu? Winamp, among others, do it and I have some applications should work similarly. Thanks, Gary
1
by: vijay | last post by:
Hi all, I am working with .net 2005 C# windows application.And my client is require the Icon and application name for the application on taskbar.Problem is that he doesn't want...
2
by: Gary Brown | last post by:
Hi, How do you remove an icon from the task switcher menu? (The one you get with ALT-TAB.) I think I asked this before but never got an answer. Now I have another app that shows an icon for...
0
Ali Rizwan
by: Ali Rizwan | last post by:
Hello every body Any one knows how to make icon beside volumecontrol icon task bar as in antiviruses they are working but are invisible and we can get access to them by clicking their taskbar ico as...
4
by: l034n | last post by:
I've been recently working on application that generates .net assemblies on-the-fly using the methods in System.Reflection.Emit. It works well, but i would like to also change the icon of my freshly...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.