|
|
|
|
How to import icons into Visual Basic Applications
Query: "I would like to use icons files created in this software in Visual Fox Pro 8, but it does not work,when I try to load in VFP appears "Icon is corrupt or in wrong format", that is in every icon created in this application".
Solution: Try to convert icons into 32x32 format or 256-colored format.
Query: "Can you give some advices about using icons with VB. Sometimes VB does not accept icons. Why?"
Solution: Different parts of VB will do different things. For example, some icons
which are larger than 16x16 will not be accepted as valid files for many
forms and other areas. The image box and picture box controls will not
always accept .ico files either. It depends on the circumstance. Now, all
that being said, I have experienced those problems mostly in VB 6 and
earlier. Since .NET has come out, I have not had anywhere near as much
trouble, especially with forms not accepting icons with a size aspect of
greater than 16x16.
The general rule for solving such a problem would be listing the sizes incide an icon in correct ascending order, starting from 16x16 and ending with 48x48.
Query: "Why Visual Basic does not accept icon?"
Solution: In Visual Basic you can use almost all icon-formats for Windows XP, but it
can't take one, TrueColor + Alpha (32 bits). It takes TrueColor (24 bits).
It can not take Windows Vista (packed) icons.
At this website, you can download code for using TrueColor + Alpha (32 bits)-icons:
http://www.vbaccelerator.com/home/VB/Tips/ Setting_the_App_Icon_Correctly/VB_Proper_AppIcon_Sample.asp
|
|
Copyright © 2000-2010 Aha-Soft. All rights reserved.
|
|
IconLover is our pick. It allows you to design and edit all kinds of graphics required in the software development cycle, including icons, static and animated cursors and interface elements - all these graphics can now be designed in a single application.
Toolbar Icon Set. A collection of practical and eye catching Windows icons representing all basic operations required for software development.
Business Icon Set will make your software and web products look more modern and attractive. File formats included into the set are Windows icons, GIF and PNG images.
ArtIcons Pro is an advanced icon-specific utility for Windows. It supports ICO, BMP, PNG, GIF, PSD, XPM, XBM, WBMP, CUR and ANI image formats and allows you to manage icon libraries.
Any to Icon converts icons and cursors into BMP, JPG, PNG, GIF, ICO, CUR and other formats. This wizard can find icons and make images for use on Web pages.
|
|
|
|