Solved

32x32 icon for a form

Posted on 2000-05-06
11
342 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 50 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

691 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