[python-win32] Help! How to get IHTMLDocument3 dispatch object?

Xin Zhao uszhaoxin at gmail.com
Wed May 26 11:14:49 CEST 2010


Hey,

I am trying to get the Dispatch object of IHTMLDocument3, so I wrote the
following code

wo = pythoncom.New('InternetExplorer.Application')
wo.QueryInterface('{3050F673-98B5-11CF-BB82-00AA00BDCE0B}')

But got the following error:
pywintypes.com_error: (-2147467262, 'No such interface supported', None,
None)

Any idea on how to address this problem?

Thanks,
xin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100526/0d3de461/attachment.html>


More information about the python-win32 mailing list