W
Will Gwaltney
I'm using WIN32OLE_EVENT to set up some event handlers on various DHTML
elements in Internet Explorer, and I'm having a bit of trouble identifying
the right event dispinterfaces to use. The Microsoft online documentation
is less than helpful; they claim that you can use the HTMLElementEvents2
interface on most all the HTML elements you care about, but I'm getting the
following when I try:
interface not found
HRESULT error code:0x80004002
No such interface supported
Here's a code skeleton that outlines what I'm trying to do:
---------------- (snip) -----------------------
require 'win32ole'
ie = WIN32OLE.new('InternetExplorer.Application')
elements in Internet Explorer, and I'm having a bit of trouble identifying
the right event dispinterfaces to use. The Microsoft online documentation
is less than helpful; they claim that you can use the HTMLElementEvents2
interface on most all the HTML elements you care about, but I'm getting the
following when I try:
interface not found
HRESULT error code:0x80004002
No such interface supported
Here's a code skeleton that outlines what I'm trying to do:
---------------- (snip) -----------------------
require 'win32ole'
ie = WIN32OLE.new('InternetExplorer.Application')