Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: Antichrist on August 21, 2004, 09:28 PM

Title: Custom Icon
Post by: Antichrist on August 21, 2004, 09:28 PM
Simple question, for those who have done it. For my bot, how do I make an image, then use it for my bot's icon. I've made something in Photoshop, but theres not an icon extention. (*.ico) Of course, VB .net has this icon editor, but it's basic. With a paint brush, and text editor. Any help would be appreciated, thanks!
Title: Re:Custom Icon
Post by: ChR0NiC on August 21, 2004, 09:48 PM
Quote from: Antichrist on August 21, 2004, 09:28 PM
Simple question, for those who have done it. For my bot, how do I make an image, then use it for my bot's icon. I've made something in Photoshop, but theres not an icon extention. (*.ico) Of course, VB .net has this icon editor, but it's basic. With a paint brush, and text editor. Any help would be appreciated, thanks!

Google (http://www.google.com)
Search for an image converter and convert your image to a .ico file. I doubt there is any other way.
Title: Re:Custom Icon
Post by: Newby on August 21, 2004, 10:08 PM
Search Google for Icon Edit Pro.

It's what I use.
Title: Re:Custom Icon
Post by: LordNevar on August 22, 2004, 07:20 AM
Just rename the file to name.ico, if your on windows XP it will auto adjust the image.
Title: Re:Custom Icon
Post by: Antichrist on August 22, 2004, 09:44 AM
I'll search google, thanks. I've tried just renaming the file, and it deffinately doesnt work. It asks if you chance the file extention the file may become unusable, and it did. Thanks.
Title: Re:Custom Icon
Post by: Warrior on August 22, 2004, 11:17 AM
Whoa I never knew that , thanks Lord Nevar!
Title: Re:Custom Icon
Post by: R.a.B.B.i.T on August 23, 2004, 12:27 AM
Quote from: Antichrist on August 21, 2004, 09:28 PM
Simple question, for those who have done it. For my bot, how do I make an image, then use it for my bot's icon. I've made something in Photoshop, but theres not an icon extention. (*.ico) Of course, VB .net has this icon editor, but it's basic. With a paint brush, and text editor. Any help would be appreciated, thanks!
There is a Photoshop plugin that allows for this.
Title: Re:Custom Icon
Post by: LordVader on August 29, 2004, 07:13 PM
Also if you've got a image already to use just open it in photoshop or whatever select all (alt+a) then copy(alt+c)..

Then in Vis studio C++ or VB's editor:
Create a new blank icon in the editor then paste(control + v) or find the "Paste" button/menu item..
Your image should drop right in.

In Vis Stuidio C++ in the resources editor it allows this so im sure it's the same in the vb editor to..
Then save the project/workspace and it should ask you what to save the icon as, if not just rename the default it created..
usually icon1.ico or w/e in the editor and save..
Title: Re:Custom Icon
Post by: Grok on August 31, 2004, 06:36 AM
Quote from: LordNevar on August 22, 2004, 07:20 AM
Just rename the file to name.ico, if your on windows XP it will auto adjust the image.

I do not think you meant what it looks like you said.  Renaming some file to .ico will not make it a windows icon file.  It will make Windows think the contents of the file are in icon file format, but when it goes to interpret those contents as an icon, it will be gibberish.  To convert between image formats, you need a tool that knows the formats of both endpoints.  Or you can use a tool that can read format A and DIB, with another tool that can read DIB and write format B.
Title: Re:Custom Icon
Post by: Blaze on September 01, 2004, 09:09 PM
I find IconCool Editor works very well...
Title: Re:Custom Icon
Post by: Palio on September 07, 2004, 04:58 PM
now that u've got an icon..... hopfully
if ya want to add it to a vb form go to the properties
window of that form there should be a ICON properte in
the list just click and link it
Title: Re:Custom Icon
Post by: Meh on September 07, 2004, 05:14 PM
Quote from: Palio on September 07, 2004, 04:58 PM
now that u've got an icon..... hopfully
if ya want to add it to a vb form go to the properties
window of that form there should be a ICON properte in
the list just click and link it
Better watch out vL, with this guys knowledge he'll take you over...........JK
Title: Re:Custom Icon
Post by: LivedKrad on September 12, 2004, 12:55 AM
Sarcastic little guy eh?  ;)