Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Wed, 17 Oct 2007 04:37:00 -0700,    group: microsoft.public.inetsdk.programming.html_objmodel        back       


how to get IThumbnailCapture pointer   
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.
date: Wed, 17 Oct 2007 04:37:00 -0700   author:   sanjaygupta

Re: how to get IThumbnailCapture pointer   
"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
date: Wed, 17 Oct 2007 08:22:54 -0400   author:   Igor Tandetnik

Re: how to get IThumbnailCapture pointer   
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 
> 
> 
>
date: Tue, 23 Oct 2007 21:38:00 -0700   author:   sanjaygupta

Re: how to get IThumbnailCapture pointer   
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
date: Wed, 24 Oct 2007 11:03:20 -0400   author:   Igor Tandetnik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us