Finding the Icon of a certain file

  • Thread starter Thread starter Timothy Taylor
  • Start date Start date
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
 
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.
 
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.
 
Fair comment Paul T. There's plenty of other enhancements that MS could be
working on that would have wider use.

Regs. Paul K.
 
Back
Top