<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Problem is solved now. The Tuple I get behaves indeed like a Python tuple, so I can use myDoc[0] and invoke the SaveAs operation on that.<br><br>Irritation was that the CLR debugger does not allow to evaluate python expressions like myDoc[0],<br>what is rather unexpected when used to a Python editor like WingIDE, my favorite one.<br><br>Peter<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Ursprüngliche Mail ----<br>Von: Frey576 <freyp576@yahoo.de><br>An: users@lists.ironpython.com<br>Gesendet: Samstag, den 7. Oktober 2006, 23:48:03 Uhr<br>Betreff: [IronPython] Word and MissingMemberException, 'tuple' object has no attribute 'SaveAs<br><br><div><br>The exception I get upon call of
myDoc.SaveAs is:<br><br>MissingMemberException, 'tuple' object has no attribute 'SaveAs'<br><br>when I check myDoc (obtained from Word.Documents.Open) in the CLR debugger I<br>see indeed that I got a tuple<br>but it does not look like a Python tuple and I dont know how to handle that:<br><br>- myDoc {(<DocumentClass object at 0x000000000000002B>,<br>'D:\\Projekte\\SGMLtoRtf\\dirWatch_SGMLtoRtf\\test\\HelloWorld.xml',<br><Missing object at 0x000000000000002C>, True, <Missing object at<br>0x000000000000002C>, <Missing object at 0x000000000000002C>, <Missing object<br>at 0x000000000000002C>, <Missing object at 0x000000000000002C>, <Missing<br>object at 0x000000000000002C>, <Missing object at 0x000000000000002C>,<br><Missing object at 0x000000000000002C>, <Missing object at<br>0x000000000000002C>, <Missing object at 0x000000000000002C>, <Missing object<br>at
0x000000000000002C>, <Missing object at 0x000000000000002C>, <Missing<br>object at 0x000000000000002C>, <Missing object at 0x000000000000002C>)}<br>object {IronPython.Runtime.Tuple}<br><br>...</div></div></div></div><br>
                <hr size=1>Keine Lust auf Tippen? Rufen Sie Ihre Freunde einfach an.<br>
<a href=http://de.rd.yahoo.com/evt=39060/*http://de.messenger.yahoo.com>Yahoo! Messenger. Jetzt installieren
</a>.
</body></html>