I want to use CaptureThumbnail() method of IThumbnailCapture interface. but I dont know how to get a pointer to IThumbnailCapture Interface. I have tried QueryInterface method on IWebBrowser2, IDispath and IHTMLDocument2 Interfaces to get IThumbnailCapture pointer but failed.
"sanjaygupta" wrote in message news:2E58B6BA-1864-4939-9F67-AE7F9829BD8E@microsoft.com > I want to use CaptureThumbnail() method of IThumbnailCapture > interface. but I dont know how to get a pointer to IThumbnailCapture > Interface. It's implemented on the object with a ProgId of "Shell.ThumbnailExtract.HTML.1" -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925
Hi Igor, Thanks for your reply. But this does not clarify my problem. Can you please send me a snapshot of the code for creating a pointer to IThumbnailCapture and using it? "Igor Tandetnik" wrote: > "sanjaygupta" wrote in message > news:2E58B6BA-1864-4939-9F67-AE7F9829BD8E@microsoft.com > > I want to use CaptureThumbnail() method of IThumbnailCapture > > interface. but I dont know how to get a pointer to IThumbnailCapture > > Interface. > > It's implemented on the object with a ProgId of > "Shell.ThumbnailExtract.HTML.1" > -- > With best wishes, > Igor Tandetnik > > With sufficient thrust, pigs fly just fine. However, this is not > necessarily a good idea. It is hard to be sure where they are going to > land, and it could be dangerous sitting under them as they fly > overhead. -- RFC 1925 > > >
sanjaygupta wrote: > Hi Igor, > Thanks for your reply. But this does not clarify my problem. > Can you please send me a snapshot of the code for creating a pointer > to IThumbnailCapture and using it? No, I don't have a sample, sorry. I haven't used it myself. What specifically do you have difficutly with? See CLSIDFromProgID, CoCreateInstance -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925