ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxPython-users
wxPython-users
[wxPython-users] _get_document() in iewin
by danielle@davout.org other posts by this author
Dec 12 2004 1:43PM messages near this date
[wxPython-users] Debug assert failure in genaxmodule.py (ActiveX) | [wxPython-users] How do I catch the close event on an XRC loaded dialog?
How do I use _get_Document() in iewin ? I need it , I presume, in order
to reach the Html Document. I looked at iewin source, it sent me to
active.py which sent me to  _active. And I'm absolutely stuck, I don't
see any examples which could help me
I googled it but everything is written in C, and I don't understand
anything ... especially the GetText() in IEHtmlwin.cpp ...
  as I'm illiterate in this language. Long live python!
Could someone help me?
Thanks


  print self.ie._get_Document()
  File
"D:\Python23\Lib\site-packages\wx-2.5.3-msw-unicode\wx\lib\iewin.py",
line 247, in _get_Document
  return self.GetAXProp('Document')
  File
"D:\Python23\Lib\site-packages\wx-2.5.3-msw-unicode\wx\activex.py", line
322, in GetAXProp

     return _activex.ActiveXWindow_GetAXProp(*args, **kwargs)
TypeError: Unable to convert value to expected type: (VT_EMPTY) for
property <Document> 


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved