--- Ven 18/7/08, Mark Hammond [EMAIL PROTECTED] ha scritto:
Da: Mark Hammond [EMAIL PROTECTED]
Oggetto: RE: [python-win32] How to get IWebBrowser2 from a HWND
A: 'salvatore ventura' [EMAIL PROTECTED], python-win32@python.org
Data: Venerdì 18 luglio 2008, 23:36
I dug into this a little more
I dug into this a little more, but I'm afraid there isn't much good news to
share :(
What I would like to achieve is the IWebBrowser2 object of the
dialog.htm page. I know I can access anything on the page itself via
the IHTMLDocument2 (which I already have) but that's not my need.
I can
be able to debug this?
I am somehow new to both python and COM, so sorry if some questions will be
silly...
thanks a lot!
.salvo
--- Gio 10/7/08, Mark Hammond [EMAIL PROTECTED] ha scritto:
Da: Mark Hammond [EMAIL PROTECTED]
Oggetto: RE: [python-win32] How to get IWebBrowser2 from a HWND
# ... and the IWebBrowser2:
ie = pIServiceProvider.QueryService(IWebBrowserApp._iid_,
IWebBrowser2._iid_)
# which - of course - fails.
Error returned:
Traceback (most recent call last):
File interactive input, line 1, in module
COMError: (-2147467262, 'No such interface supported',
salvatore ventura wrote:
Hi,
I am trying to get the IWebBrowser2 object from the HWND of an open IE window.
[... snip complex code ...]
At the risk of oversimplifying matters (and thanks to Roger
Upole for providing this snippet which I think I've linked to
three times this week!):
code
Hi,
I am trying to get the IWebBrowser2 object from the HWND of an open IE window.
I have seen this topic covered in many languages, and I am following the same
steps, but in python, yet I am hitting a wall that I can't figure how to
break... So, yes, I have been 'googling', browsing and