471,326 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,326 software developers and data experts.

Capture Icons

Hello all
i want to know how to capture the icon of a file or folder , or at least
create shortcut icon for it , and then use it in my application
thx all
Jan 17 '06 #1
1 1632
The easiest way to get an icon for any file/folder in the system is to
use the ShGetFileInfo API function through the P/Invoke layer. You can find
the declaration for this at http://www.pinvoke.net

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Just close your eyes and see"
<Ju*********************@discussions.microsoft.com > wrote in message
news:F2**********************************@microsof t.com...
Hello all
i want to know how to capture the icon of a file or folder , or at least
create shortcut icon for it , and then use it in my application
thx all

Jan 17 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by drum118 | last post: by
24 posts views Thread by Crom | last post: by
3 posts views Thread by sto | last post: by
6 posts views Thread by B-Dog | last post: by
17 posts views Thread by Brett | last post: by
4 posts views Thread by Sanoski | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.