And another one!
I am using a com object interop (DSOfile) in a VB.net project, and in
order to extract the thumbnail property of a file, I am using another
reference, visualbasiccompatibility.VB6 and the method
IpicturetoImage. This seems to be the only way that it converts the
ole ipciture to a standard VB.net image.
I had thought that using Convert_PictureToBitmap would have replaced
this but it seems i am getting an "unable to cast" exception when i
attempt it try. I guess a stdole.stdpicture is not the same as an ole
Ipicture???. It would be nice if i could do everything in AIL rather
than have the extra reference if possible. any thoughts?