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: Tue, 13 Nov 2007 02:34:02 -0800,    group: microsoft.public.inetsdk.programming.html_objmodel        back       


Access on a popup via VBA and IE   
Hi,

I'm programming a tool to read data from a webpage. Unfortunatelly the data 
appears in a popup-window and I do not know how to access to this popup.

All the other pages I am "climbing" through can be worked on via 
"objIE.Document...". But in this case, the popup isn't the active document, 
but "objIE.Document" is linked to the page where I activated the popup by 
clicking on a link.

I hope you can help me
Martin (Germany)
date: Tue, 13 Nov 2007 02:34:02 -0800   author:   Martin Walter

Re: Access on a popup via VBA and IE   
"Martin Walter"  wrote in
message news:856BA106-C15F-4653-A5E8-5F35A89AEE8F@microsoft.com
> I'm programming a tool to read data from a webpage. Unfortunatelly
> the data appears in a popup-window and I do not know how to access to
> this popup.

See KB article KB184876 "How To Use the WebBrowser Control NewWindow2 
Event"
-- 
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, 13 Nov 2007 07:42:27 -0500   author:   Igor Tandetnik

RE: Access on a popup via VBA and IE   
Hi,

I've got the solution myself:

The popup appears because of a jscript code to open a new window. But when I 
get the address out of the source page and send it as a normal webaddress, I 
get a normal webpage displayed on the IE I've opened before.

Thanks
Martin
date: Tue, 13 Nov 2007 22:25:00 -0800   author:   Martin Walter

Google
 
Web ureader.com


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