> # ... 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', (None, None,
> None, 0, None))

Its possible that you could specify IDispatch as the second IID, then wrap
the resulting object using win32com.client.Dispatch() (or the equivalent
using ctypes).

Cheers,

Mark


_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to