Visual Basic Explorer
Visual Basic Explorer
 Navigation
 Home


 Coding
 Source Code

 FAQ Center

 VB Tips

 Downloads

 ToolBox

 Tutorials

 VB Games

 VB News

 VB Award

 VB Forums



 Affiliates
 Planet Source Code

 Rent a Coder

 DirectX4VB


 Misc
 Search

 Feedback

 Advertise

 About


Need to hire
a VB coder?

Please support our sponsor:

 Home 
 Site Map 
 Forums 
 News 
 Feedback 

 

'***********************************************

 
' Many thanks to Burt Abreu and his fine
' website (www.VBExplorer.com) for pointing
' me in the right direction.

 
'***********************************************

 
' Written in Visual Basic 5.0

 

 
'Hello fellow VB programmers. Like many projects,
'this grew out of a need for an icon designer that
'would do what I wanted it to do--vice what someone
'else had in mind. I had been working on another
'project which needed customized icons. I searched
'the net but couldn't find an icon editor that
'would do what I wanted, so I put the other project
'on hold while I wrote this. It started out bare
'bones, but you know how that goes.

 
'I didn't write a help file but here are some notes,
'not in any order:

 
'(1) Note that a doubleclick on the last 16 color
'boxes will let you define your own color.

 
'(2) The first 16 colors are solid colors and
'react to all modes normally. However, the 2nd
'group contains mixed colors & you will see the
'results if you draw a solid shape or clear to
'those colors.

 
'(3) The Clear command button clears to the left
'color if left clicked & vice versa.

 
'(4) I beat myself to death trying to get the
'ExtFloodFill API call to work until I finally
'figured out that you have to invoke
' Picture1.Picture = Picture1.Image
'---whatever that does.

 
'(5) I think ICONWRKS, which came with VB3 would do
'what I wanted, but in spite of my tweaking & converting
'to 32 bit, it 'illegal ops' on the GetBitMapBits call.
'Anyone know how to fix it?

 
'Do what you want with this source, however check it
'out carefully before you run it. I cannot know about
'every person's PC setup & will not be held liable
'if it locks up your machine and wipes out your drive.
'I sincerely doubt this will happen, but who knows?

 
'Questions/comments to me (Norm Cook):

 
' guinn@netjava.com

 
'Be happy in your programming

 

 
Note: After checking the program out we realized that the
generated "icons" are in bitmap format. However, they DO
work for such things as "icons" used for desktop shortcuts,
"icons" used in VB projects, "icons" on VB forms, etc.

My interest is piqued and I have been to the WOTSIT site
to get the proper format for icon files. Will continue to
work on this. If your web visitors want 32x32, 256 color
"icons", my attempt will do it, but if you post it, you
might want to put a proviso on the source code about not
saving as true icons.


Downloads

In IE right-click and select 'Save Target As...' or in Netscape right-click and select 'Save Link As...'

 

View Plain Text View Plain Text
Download Demo Project Download Demo Project
View Code Online Not Available





Home | About | What's New | Source Code | FAQ | Tips & Tricks | Downloads | ToolBox | Tutorials | Game Programming | VB Award | Search | VB Forums | Feedback | VBNews | Copyright & Disclaimer | Advertise | Privacy Policy |

Quick searches: Site Search | Advanced Site Search 

Copyright 2002 by Exhedra Solutions, Inc.
By using this site you agree to its terms and conditions
VB Explorer and VBExplorer.com are trademarks of Exhedra Solutions, Inc.