473,403 Members | 2,293 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,403 software developers and data experts.

icons in Windows Vista

Hello everyone
Just joined this forum and have a question to ask regading an application
I built using VB.net. The application works fine at home on my XP machine, however, I wanted to test and use it at work where I have a PC using Windows Vista. What happens is the app works but the icon in the Start menu seems to be randomly selected and not the one I gave it. Although the icon appears at the top left of the form. AltTAB gives me something completely
different. Also if I have opened another program prior to starting mine the
icon shown in the task bar is that of the previous program. How do I fix this?
Dec 2 '08 #1
8 1286
Dököll
2,364 Expert 2GB
Greetings, Axiom28!

Not sure why you are having this problem. I do not use Vista... Have you considered building the app on the vista machine?

Sending over to .NET for a closer look...

Hope you find out the problem though.

Dököll
Dec 3 '08 #2
Curtis Rutland
3,256 Expert 2GB
Moved to Answers instead of Insights.
Dec 6 '08 #3
Hello, I haven't had any answers on this. However, someone suggested that
it might have to do something with the resolution of the icons used in Vista, or do I need multiple icons e.g. 16 x 16, 32 x 32 and more. Can anyone confirm this or not. I also noticed recently that my program when minimised picks up
the icon of the last opened program. i.e. If I open Excel then the minimised button has an excel icon.
Looking to getting an answer to this one
Dec 10 '08 #4
nukefusion
221 Expert 100+
I would start by making sure that the icon file contains an image in the following sizes (recommended by Microsoft): 16x16, 32x32, 48x48, and 256x256.

I've got Vista on my laptop at home and seem to remember that alt-tab uses bigger images there than it does on my XP machine here in the office. Maybe your missing one of these larger icon sizes?
Dec 10 '08 #5
Plater
7,872 Expert 4TB
I was just going to say that yes, it is most likely that it is an issue with not having the correct image sizes stored in your icon file.
Don't forget about 64x64 either
Dec 10 '08 #6
Ramk
61
@Plater
hi Plater, Im not fully convinced with the answers.In general whenever an image of the required size is not found, Windows will automatically create it. This is particularly true in case of colour, wherein the requested color is not available, Windows will give the best matching colour based on underlying graphics hardware.
One ex is that, if you select the large images option in VS, it zooms the icons to fit the toolbar area. I don't know completely about the problem. But
I recommend to check the icons loading, releasing in the code.
Try using Window+Tab to see the winodw list(the same problem is recurring). I got astonished because, the questioner has complained it is showing the last open icon when minimized.
Can't we solve it???
Dec 13 '08 #7
MrMancunian
569 Expert 512MB
As suggested by Dököll, did you try to build it on a Vista environment? Furthermore, how do you deploy your application? Is it an one-click-manifest application or did you create an exe/msi?

Steven
Dec 13 '08 #8
Plater
7,872 Expert 4TB
It has been my experiance that when windows cannot find the correct image, it uses a default one. Which has been many the case in .NET applications.

And if you look through VS, you see that those icons actually do exist in the various sizes, the zooming is not done "on the fly"
Dec 15 '08 #9

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

Similar topics

6
by: B-Dog | last post by:
Does anyone know where I can find some professional looking icons that are the standard windows collection for developers? The ones that came on the VS cd are pretty lame. Thanks
2
by: TyBreaker | last post by:
Is there a way to access icons within Windows XP for use in projects? -- ______ ___ __ /_ __/_ __/ _ )_______ ___ _/ /_____ ____ / / / // / _ / __/ -_) _ `/ '_/ -_) __/ /_/ ...
1
by: Jon Slaughter | last post by:
I'm trying to create a windows explorer like app and the problem I'm having is getting the proper icon for the folders and items. In windows explorer there are many different icons and most seem...
6
by: j2ee.singh | last post by:
Hi, I'm looking to buy a new laptop primarily to learn & practice .NET and C#. My Question is: Is there any requirement for .NET and C# in terms of the following Operating Systems: -...
1
by: Yuri Martsynovskyy | last post by:
I get this error message in VS 2005 when compiling Vista icon: ..\File.rc(623) : error RC2176 : old DIB in res\main.ico; pass it through SDKPAINT Using VS 2005 with latest SP1 for Vista
2
by: Peter | last post by:
Hello, Is there a way to, after creating a binary (or other kind of) file using a FileStream object, to set its icon in Windows?
1
by: Mark B | last post by:
I am trying to programmatically create some icons for an Office 2007 add-in (VB/C#) that will appear on the navigation Ribbon. The particular icon is simply a colored round circle representing a...
5
by: =?Utf-8?B?U0NPVFRT?= | last post by:
My folder icons (yellow folders) have all changed into white boxes with a little square inside. I try to restore defaults but they do not change back. I read somewhere about deleting the iconcache...
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...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.