Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6585879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:43:10+00:00 2026-05-25T16:43:10+00:00

I am using Visual Studio 2010, C#, on Windows 7. I have added a

  • 0

I am using Visual Studio 2010, C#, on Windows 7.

I have added a notify control to my project and set it to an icon I have imported to the project. The icon image is really good looking if I just preview it, but once I run my code and see it in the system tray, then it’s really terrible, like the sides are dotted instead of straight lines and so on. I have tried 16×16, 24×24, 32×32 and 48×48 of the same file but I am having terrible results.

Have I missed anything?

myNotifyIcon.Icon = SysDir.Properties.Resources.icon2_32_ico_rgba;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:43:11+00:00Added an answer on May 25, 2026 at 4:43 pm

    Edit:

    The info I am linking seems to be suspect at this point. Try it out, but if it isn’t working, then I suggest you edit your question to post screenshots of all your experiments (each icon size and how it gets scaled).

    Original:

    32x32x256 is the right size and color depth according to this link:

    http://www.hhhh.org/cloister/csharp/icons/

    But you have to be very careful when constructing that image:

    • Take a 16x16x256 image, and get it to look nice
    • Double it to 32×32 (careful not to blur or resample if doing this in a paint program)

    The reason is that Windows will “resize” the 32×32 image to 16×16 by simply throwing away 3/4 of the pixels. The link above demonstrates this phenomenon with a couple screenshots:

    Before:

    Before shrinking icon

    After:

    After shrinking icon

    I’m not sure how much of the color-depth pickyness (256 colors only?)/resampling issues are still true on Windows 7, but it certainly seems to be the case on XP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created an OData/WCF service using Visual Studio 2010 on Windows XP SP3
I am using Visual Studio 2010, Windows 7 and IIS. I have written a
I am using Visual Studio 2010 Professional Edition, and Windows Vista. Firstly, I have
I'm using Visual Studio 2010 on a Windows XP SP3 machine and I have
I have a Windows service written in C# using Visual Studio 2010 and targeting
I'm running Windows 7 Ultimate (64 bit) using Visual Studio 2010 RC. I recently
For reference, I'm using Visual Studio 2010. I have a custom build step defined
I have a Microsoft Access 2010 database(*). Now, using Visual Studio 2010, I want
I have created an office shared add in using Visual Studio 2010 .NET 4.0.
Environment: Visual Studio Ultimate 2010 Windows XP WPF Desktop Application using .NET 4.0 We

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.