Please ignore my earlier post about this, I kinda know
what caused the problem now. It seems that when I say
this:

doc = ieApp.Document

IP goes and searches for the type of this thing in the
type library--so it didn't really hang, it just took a
long time for it to find it and return, seemingly. 

After I've tlbimp-ed mshtml.tlb and loaded the
resulting assembly, the call returns immediately. 

>>> ieApp.Navigate("http://www.yahoo.com/";)
(<System.Reflection.Missing object at
0x000000000000002B>, <System.Reflection.Mi
ssing object at 0x000000000000002B>,
<System.Reflection.Missing object at 0x0000
00000000002B>, <System.Reflection.Missing object at
0x000000000000002B>)
>>> doc = ieApp.Document
>>> doc
<com_object System.__ComObject with interfaces [<type
'MSHTML.OldHTMLDocument'>]
>
>>>

Thanks,
Ray

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to