Link to home
Start Free TrialLog in
Avatar of wladir
wladir

asked on

HOW? better quality VB forms icons not just the 16x16 256 colors

I want to use with better quality VB 6 forms icons not just the 16x16 256 colors, I would like a 16x16 hi color with alpha, how can I do this?
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Avatar of wladir
wladir

ASKER

I dont understand how to do the Resource file and how to use it
it is though explained in the article above
<...>
Creating The Resource

The first thing you need to be able to do is to create a resource file containing the icon you want to use. In this case its simply a matter of creating a resource compiler (.RC) script like this:

// Icons for this application
AAA      ICON    MOVEABLE        PRELOAD         244.ico

The icon, 244.ico is compiled into the resulting resource file with the name AAA. As noted before, Windows finds resources with string names before those with numeric identifiers, so this ensures that the new icon takes precedence over any icon VB tries to create when you compile the application. This resource will now appear in all Explorer windows when you use the application.

<...>
, ie, using rc.exe to compile the resource file:
http://www.vbaccelerator.com/article.asp?id=11996

of course, the icon file has to be created first using a icon editor software (of which you will find surely alot - including free software - on the net)
Please download the icon creating tool.
http://www.aha-soft.com/anytoicon/any2icon.zip

Any to Icon converts BMP, JPEG, GIF, PNG, PCX, PSD, TGA, TIFF, WMF, WBMP, XPM, XBM and CUR formats into Windows icons.

Regards,
M.Raja
Avatar of wladir

ASKER

In the example it says that to compile a file I should use a line like this one for example:

RC /r /fo TEST32.RES TEST.RC

But where should I run it?
from the command line (dos prompt)
Avatar of wladir

ASKER

And does the TEST.RC file should be in the same directory of rc.exe? or can I run something like this:
RC /r /fo g:\tt\TEST32.RES g:\tt\TEST.RC


Also is there any software to do this resource files more easy?
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial