Sink events from window.external
From: Mark Guerrieri (mguerrieri_at_cmsgrp.com)
Date: 02/08/05
- Next message: Ben Langton: "How to automatically submit a form via IE?"
- Previous message: HaroldR: "Responding to Security alserts"
- Next in thread: Nic Roche: "Re: Sink events from window.external"
- Reply: Nic Roche: "Re: Sink events from window.external"
- Reply: Michael Harris \(MVP\): "Re: Sink events from window.external"
- Reply: Igor Tandetnik: "Re: Sink events from window.external"
- Reply: Nic Roche: "Re: Sink events from window.external"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 8 Feb 2005 17:05:02 -0500
I have an app that hosts the browser control, and in the HTML of the browser
I use window.external to assign an automation object to a variable in
VbScript. The automation object is a straigt forward ATL object that
implements IProviderClassInfo2 and IObjectSafety.
Is it possible to sink events from this object in VbScript? It seems that
the "Sub Object_Event" method only works if the object was created on the
page. I cant find a way to get the browser control to call Advise for my
object's events. Events fire and work fine outside of a scripting host.
Say, for example, you passed a Recordset object into the script via
window.external:
Dim oRs
Set oRs = window.external
I can now access the properties and methods of the recordset, but how can I
sink its events?
Thanks-
Mark Guerrieri
CTO
Creative Marketing Strategies
mguerrieri@cmsgrp.com
- Next message: Ben Langton: "How to automatically submit a form via IE?"
- Previous message: HaroldR: "Responding to Security alserts"
- Next in thread: Nic Roche: "Re: Sink events from window.external"
- Reply: Nic Roche: "Re: Sink events from window.external"
- Reply: Michael Harris \(MVP\): "Re: Sink events from window.external"
- Reply: Igor Tandetnik: "Re: Sink events from window.external"
- Reply: Nic Roche: "Re: Sink events from window.external"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|