[IronPython] 答复: Users Digest, Vol 82, Issue 17

wangzhongtian wangzht at cpit.com.cn
Sun May 22 20:33:10 PDT 2011


I want to access MSProject file(Project 2003) using IronPython 2.7 ,but it
can't work ,There may be a bug .The Same code works well in Ipy 1.1. below
is the code and error printed in ipy 2.7:

? import clr
? name1="Microsoft.Office.Interop.MSProject" 
? clr.AddReferenceByPartialName(name1) 
? import Microsoft.Office.Interop.MSProject as  msproject
? w = msproject.ApplicationClass()
? w.Visible
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NotImplementedError: The method or operation is not implemented.
? w.ActiveProject
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NotImplementedError: The method or operation is not implemented.




More information about the Users mailing list