The GenPY output for IE contains two _dispid_to_func list:
_dispid_to_func_ = {
101 : OnNavigateComplete,
103 : OnQuit,
201 : OnFrameNavigateComplete,
108 : OnProgressChange,
110 :
Hammond [mailto:[EMAIL PROTECTED]
|Sent: Saturday, May 26, 2007 3:17 AM
|To: 'Richard Bell'; python-win32@python.org
|Subject: RE: [python-win32] Getting HRESULT back from a com automation
|
| I'm trying to get back the result of ie.Navigate().
| According to the MSDN
| documentation it should return
As to what codes I'm expecting ... heaven only knows. I'm
working with IE 7
now and it appears willing to return most anything under
various boundary conditions.
I guess I was asking if you are expecting any 'success' codes other than
S_OK. These are rare, and always explicitly documented.
My misunderstanding.
As far as I know now absent some error all I really expect is S_OK. I'm
adding in the python.com_error checking now and starting careful testing.
If something other than S_OK turns up in the IE interface I'll let you know.
Thanks.
Regards,
Richard
| As to what codes I'm
I'm working on an application that automated IE in an apartment threaded
model.
I'm trying to get back the result of ie.Navigate(). According to the MSDN
documentation it should return a HRESULT. It appears to return None. Is
there a way to get the return code from the com interaction?