Get Associated Icon from File

G

Giovanni pepe

I have download from site Microsoft the procedure for Get Associated Icon
from File
Article is : "How to use the SHGetFileInfo function to get the icons that
are associated with files in Visual Basic .NET"

But i have the problem....
Then Icon .txt - .Xml and other is a looked badly, while others are looked
at well
I have set in imagelist trasparentcolor = Trasparent but nothing...

Thank you
 
V

VJ

If you are using the ImageList to store the Icons and display set the
ColorDepth to -32Bit. This seems to help on XP machines...

VJ
 
G

Giovanni pepe

I have tried with all the types of colordepth
The procedure with Api is only ?
 
H

Herfried K. Wagner [MVP]

Giovanni pepe said:
I have download from site Microsoft the procedure for Get Associated Icon
from File
Article is : "How to use the SHGetFileInfo function to get the icons that
are associated with files in Visual Basic .NET"

But i have the problem....
Then Icon .txt - .Xml and other is a looked badly, while others are looked
at well
I have set in imagelist trasparentcolor = Trasparent but nothing...

<URL:http://www.dotnetrix.co.uk/misc.html>

<URL:http://vbaccelerator.com/article.asp?id=4302>
<URL:http://vbaccelerator.com/article.asp?id=4567>
 

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

Top