Developement - Xp Icons In Visual Basic

Hey guys,

As you developers might know, there's no support for XP Icons (32 Bit alpha blended icons) in Visual Basic. I made a simple application that supports 32 bit icons as shown in the picture below. I also included the source code and some info on the app. Just my 2 cents I think it might useful to some developers around here.

Anyways, feel free to use the code for freeware as long as you send me the code of what you produce from it , bla bla bla ;)

here's the link Enjoy !!!

screentest.JPG

#4918

I just figured out it might not be the right thread to post to.

Sorry for the mess :P

#4919

Hey duckie I miss your site :rolleyes: !!!

Anyways, what would you think guys of a source code repository for Mac-Cloned-And-Related-Apps ?? I might start a new site for this ... if I had enough time ... wich I don't actually. Maybe I could squat someone's site ...

Any suggestions ?

#4942

wow thats great.. now if only you can make a program that can be used as a background or wallaper which you can skin and use 32bit icons in windows9x =]

#4943

Originally posted by ZzPcPzZ@Dec 6 2002, 06:23 PM

wow thats great.. now if only you can make a program that can be used as a background or wallaper which you can skin and use 32bit icons in windows9x =]

i doubt it..

32bit icons are part of the XP / 2k API's

it's built into the system..

what Stash has done

is create a way to link to those API's from VisualBasic.

something that was up till now, unheard of..

i doubt this will be able to ad 32-bit to 9x..

unless M$ releases an update to 98 / ME, or

you convert all the icons by hand.

i doubt you'll have 32-bit icons anytime soon..

:( sorries..

#5206

Nope you'r wrong. What I did is to load the icon file from scratch, reading bytes after bytes. The only API I used is SetPixel to plot pixels in the picturebox (I used it only because PSet is shamely slow). The funny part is I only treat 32 Bit pictures inside the icon, so older 256 colors or Truecolor (24 Bit) won't display. What ZzPcPzZ told about would be possible, but I stick to iPhoto for the moment.

I just figured the link to my page was barely visible but it's there, just before the screenshot, check the code!

#5208

Stash,

Je vais écrire ceci en français si pas tout le monde saura, mais je vous permettrai d'emmagasiner vos fichiers sur mon serveur. S'il vous plaît le message me dans privé plus tard.

Merci

Désolé si mes français sont mauvais.

#5213

Originally posted by stash@Dec 8 2002, 07:10 AM

Nope you'r wrong. What I did is to load the icon file from scratch, reading bytes after bytes. The only API I used is SetPixel to plot pixels in the picturebox (I used it only because PSet is shamely slow). The funny part is I only treat 32 Bit pictures inside the icon, so older 256 colors or Truecolor (24 Bit) won't display. What ZzPcPzZ told about would be possible, but I stick to iPhoto for the moment.

I just figured the link to my page was barely visible but it's there, just before the screenshot, check the code!

would you have to re-write they 9x system files in VB then ?

or just create a new shell ?

#5309

hmmm i was thinking that too.. what if the shell32.dll or whatever file has 32bit icons, and that app can emulate the desktop or explorer... then it would work?

#5334

hacking 9x files don't seem to me a good solution. Doing the shell is better. It's actually quite similar to the dockbar. Doing a program with Dockbar + FinderBar + ObjectBar would be possible, since the rendering pipeline is quite the same.

#5401