?
Solved

32x32 icon for a form

Posted on 2000-05-06
11
Medium Priority
?
344 Views
Last Modified: 2010-05-02
Hi,

I set a 32x32 .ico as the icon of a form, but the icon looks not so nice. Perhaps it is destroied when VB reducing it to fit the narrow top bar of the form.

How to set the 32x32 .ico as the icon of a form without reducing the icon's size?
0
Comment
Question by:username1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 3
11 Comments
 

Author Comment

by:username1
ID: 2784709
Adjusted points from 45 to 50
0
 
LVL 32

Accepted Solution

by:
Erick37 earned 150 total points
ID: 2784725
When creating your icon, include a 16x16 pixel icon as well.  This small icon is what is used in the taskbar, and on the form's titlebar.  The icon editor you are using should support both 32x32 and 16x16 icons in the same ico file.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2784726
http://www.mvps.org/vbvision/grouped_demos.htm

sample there about halfway down the page called Form Icon Bug Fix

see if it applies to you
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:username1
ID: 2784736
Thank you experts,

I made the 32x32 icon myself and after half an hour trying I fail to make the 16x16 small icon :-(.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2784738
what did you use to make the icon?
0
 

Author Comment

by:username1
ID: 2784746
Hi AzraSound:

You must misunderstood me: the icon is so fine that I can not make it smaller....

I used an icon maker by wotan500@aol.com. That is quite a good freeware.
0
 
LVL 32

Expert Comment

by:Erick37
ID: 2784750
If you are using ImagEdit, which ships with VB, you can add small icons:

http://support.microsoft.com/support/kb/articles/Q147/6/72.asp
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2784751
i dont think theres anything you can do about the distortion then...other than maybe finding an alternative place to show it...in a picturebox for example.
0
 
LVL 32

Expert Comment

by:Erick37
ID: 2784753
If you use a 32x32 Icon as your form's icon, then Windows will shrink it to fit within the 16x16 pixel area.  This is why your icon may not look so nice.  For complete control, you must create a 16x16 icon.  I know it's hard to put anything readable in such a small space, but it's what Windows allows.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2784755
hey Erick does that ship with all versions of VB...I dont think I have it
0
 
LVL 32

Expert Comment

by:Erick37
ID: 2784758
ImagEdit should be on the CD under VB/Tools
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month12 days, 11 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question