How to get the icon of System Folder?

  • Thread starter Thread starter yxq
  • Start date Start date
Y

yxq

Hello
I want to get system folder icon like in Explorer using vb.net, for
example My Documents...

How to do?

Thanks
 
I want to get system folder icon like in Explorer using vb.net, for
example My Documents...

How to do?

See if this helps:

HOW TO: Use the SHGetFileInfo Function to Get the Icons That Are
Associated with Files in Visual Basic .NET
http://support.microsoft.com/?kbid=319340

Note that the SHFILEINFO declaration in the article is incorrect, it
should have the following attribute applied to it

<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)>



Mattias
 
Back
Top