System Icons?

T

TyBreaker

Is there a way to access icons within Windows XP for use in projects?
--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/

There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.

There's no place like 127.0.0.1.

ASCII a silly question, get a silly ANSI.
 
H

HKSHK

Hello TyBreaker,

If you want the Msgbox icons, you can get them with SystemIcons, e.g.
SystemIcons.Error

If you want to use icons from explorer then you would have to load them
from the proper DLL or EXE file.

Best Regards,

HKSHK
 
T

TyBreaker

HKSHK said:
If you want to use icons from explorer then you would have to load them
from the proper DLL or EXE file.

OK thanks for that. I'm a bit green around the edges, can you provide a
bit more detail eg sample code that makes use of icons in Explorer or
perhaps a reference site I can read up on it please?

Also, if I did use such icons would they automatically change if I ran
my application under Vista i.e. are the icons embedded in my project or
do they remain references to whatever the particular OS uses?

--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/

There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.

There's no place like 127.0.0.1.

ASCII a silly question, get a silly ANSI.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Prompting for an IP address 4
Form Layout 3
Dynamic buttons 2
Floating Menu Bar 6
VB.NET Appbar example? 1
VB2005: Controls not appearing on form 3
MouseMove event not firing 3
System Volume Information 3

Top