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, 25 Jun 2008 18:05:48 -0700,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


get browser screen grab from within BHO   
Hi,

I have built an IE BHO and would really like to take a full screen screen 
grab of the currently displayed web page in real-time from that BHO. Trouble 
is, when I try to grab the screen using IViewObject::Draw... I get a black 
screen. Right now I get round this by having my BHO save the HTML to a file, 
then I reload that HTML into a WebBroswerControl and take a screen grab from 
there... which works - but this is a real hack!!

Has anyone taken a screenshot from a BHO before, and if so, how did you do 
it?

Thanks!
James
date: Wed, 25 Jun 2008 18:05:48 -0700   author:   James j DOT w AT zoom DOT co DOT uk

Google
 
Web ureader.com


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