IExtractImage is used, typically, to extract thumbnail images in the sense that i have XYZ png files and this is what a thumbnail of them looks like. You aren't doing that, you simply want to display a given icon based upon the mime type.
If it were me I would either A) place a relative path to the icon in the database soL /images/icons/pdf.png or B) use a switch statement to determine which icon to display as I am binding the data.
I think trying to use this COM Interface is overkill and will cause you more time then its worth.
hth.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click  on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
|