question about python COM programming

Posted by usfree74 on Stack Overflow See other posts from Stack Overflow or by usfree74
Published on 2010-05-26T09:13:30Z Indexed on 2010/05/26 10:01 UTC
Read the original article Hit count: 257

Filed under:

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

© Stack Overflow or respective owner

Related posts about pywin32