Finding the Icon of a certain file

T

Timothy Taylor

Hello,

I'm a VB.NET programmer for the CF,

Is there any API out there that will allow me to get the Icon of a certain
file? (example if i give it the path of a file ending in ".doc" then it
would return the icon of the word logo (or whatever is associated with that
file) in the icon format)

Or is there any other way to grab the icons of file(s)

Anything would be very appriciated,

Thanks in advance,

-Tim
 
P

Paul G. Tobey [eMVP]

Didn't we cover this just recently? Why, yes, we did. Please check the
archives. I used "icon file type" for my search...

Paul T.
 
P

Paul Kay

Yes Paul T., you did reply to a similar post recently, and your answer on
that occasion was:

'Sorry, I've only done this in C++, not in managed code.'

Perhaps, just perhaps, Timothy Taylor was hoping for an answer from another
poster who had resolved this apparent shortcoming in the CF with VB.NET
managed code or could give him a pointer on how to do it with wrapped
unmanaged code.

I, for one, would hope for an update in the CF to facilitate this, rather
than resort to wrapped C++.

Paul K.
 
P

Paul Kay

Fair comment Paul T. There's plenty of other enhancements that MS could be
working on that would have wider use.

Regs. Paul K.
 

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