[wxPython-users] activeX wx.lib.iewin.IEHtmlWindow

Mike Driscoll mdriscoll at co.marshall.ia.us
Thu Feb 7 08:27:07 PST 2008


Mariano , 

> -----Original Message-----
> From: Mariano Di Felice [mailto:mariano.difelice at gmail.com] 
> Sent: Wednesday, February 06, 2008 2:37 AM
> To: wxPython-users at lists.wxwidgets.org
> Subject: Re: [wxPython-users] activeX wx.lib.iewin.IEHtmlWindow
> 
> Thx Robin,
>     have you some links about it?
> 
> Bye
> 
> Robin Dunn ha scritto:
> > Mariano Di Felice wrote:
> >> In effects, I have just think about your solution, but I fear of 
> >> firewalls.
> >> About "get result from page" I mean that I have in this 
> page various 
> >> code merged in html, javascript and DOM, and finally I must get  a 
> >> result indicated me by javascript function.
> >> This is the reason I've not used wx.HtmlWindow: this 
> object doesn't 
> >> support javascript.
> >
> > It probably can't be done with the IE module based on 
> wx.activex, but 
> > it might be possible to do it via wx.lib.activexwrapper.  Since it 
> > uses PyWin32 and has a real COM implementation then you have more 
> > control over the embedded objects.  So if the IE ActiveX control 
> > allows you to get the javascript/DOM info you need via its COM 
> > interface then you can probably get to it that way.
> >

I personally recommend the PyWin32 user's group for questions about that
interesting interface:

http://mail.python.org/mailman/listinfo/python-win32

As for links on COM, here's a couple:

http://www.oreilly.com/catalog/pythonwin32/chapter/ch12.html
http://www.boddie.org.uk/python/COM.html

You can usually Google for how to do "something" with Visual Basic and
then translate that into Python. MSDN is your friend as well...at least,
in this situation. You can also Google Robin's suggestion:
"wx.lib.activexwrapper". It returns quite a few hits.

Mike




More information about the wxpython-users mailing list