Quantcast

答复: Users Digest, Vol 82, Issue 17

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

答复: Users Digest, Vol 82, Issue 17

wangzhongtian
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.


_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Loading...