I want the ability to read MS Project file (MPP) into a .NET application. Is it possible?
I can export the MPP file to XML and read it. But if I have a 25 MB MPP file, it gets exported to 300+ MB XML file. Thus the program is out of memory. Moreover, it takes 20+ minutes to export. Both these reasons make it a inviable solution.
Thanks
I love computers because: MY WISH IS THEIR COMMAND :)
To import MS Project file, you will be required to use Microsoft Project COM API which will require Microsoft Project installation on machine where you are importing MPP file. To import without having Microsoft Project installed, you can use mpxj.
I installed MS Project and ran my app in VS 2010 in Windows 7. It ran successfully a few days ago. Now when I run it, the "Task" node is missing. It works in XP. I reinstalled MS Project thinking the DLLs would be resynced. But no luck.
Thanks
I love computers because: MY WISH IS THEIR COMMAND :)
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
Click "Mark as Answer" on the post that helped you.
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
yaip
Contributor
4785 Points
1229 Posts
Reading a MS Project file
Jan 06, 2010 05:34 PM|LINK
I want the ability to read MS Project file (MPP) into a .NET application. Is it possible?
I can export the MPP file to XML and read it. But if I have a 25 MB MPP file, it gets exported to 300+ MB XML file. Thus the program is out of memory. Moreover, it takes 20+ minutes to export. Both these reasons make it a inviable solution.
I love computers because: MY WISH IS THEIR COMMAND :)
<Website>
<Gadget>
LiveTecs
Member
566 Points
116 Posts
Re: Reading a MS Project file
Jan 07, 2010 11:28 AM|LINK
To import MS Project file, you will be required to use Microsoft Project COM API which will require Microsoft Project installation on machine where you are importing MPP file. To import without having Microsoft Project installed, you can use mpxj.
http://mpxj.sourceforge.net/
Thanks
Bug Tracking
Web Timesheet
Time Tracking Software
yaip
Contributor
4785 Points
1229 Posts
Re: Reading a MS Project file
Feb 23, 2010 08:19 PM|LINK
I installed MS Project and ran my app in VS 2010 in Windows 7. It ran successfully a few days ago. Now when I run it, the "Task" node is missing. It works in XP. I reinstalled MS Project thinking the DLLs would be resynced. But no luck.
I love computers because: MY WISH IS THEIR COMMAND :)
<Website>
<Gadget>
TATWORTH
All-Star
72405 Points
14018 Posts
MVP
Re: Reading a MS Project file
Feb 26, 2010 04:19 PM|LINK
What sort of Dot Net Application?
You would be far better to ask in a forum dedicated to answering MS Project questions such as:
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
yaip
Contributor
4785 Points
1229 Posts
Re: Reading a MS Project file
Feb 26, 2010 04:46 PM|LINK
Thanks. I think my problem is very similar to this:
http://blogs.msdn.com/brismith/archive/2008/02/15/comexception-on-x64-platforms-when-automating-the-project-client-via-the-primary-interop-assembly-pia.aspx
But they don't have a hotfix for Windows 7 yet.
I love computers because: MY WISH IS THEIR COMMAND :)
<Website>
<Gadget>
TATWORTH
All-Star
72405 Points
14018 Posts
MVP
Re: Reading a MS Project file
Feb 26, 2010 04:50 PM|LINK
I suggest that you file a bug report to Microsoft at https://connect.microsoft.com/dashboard/?wa=wsignin1.0
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
yaip
Contributor
4785 Points
1229 Posts
Re: Reading a MS Project file
Feb 26, 2010 06:52 PM|LINK
How do I file a new bug? I am signed in but I don't see a button.
I love computers because: MY WISH IS THEIR COMMAND :)
<Website>
<Gadget>
TATWORTH
All-Star
72405 Points
14018 Posts
MVP
Re: Reading a MS Project file
Feb 26, 2010 07:06 PM|LINK
Try
https://connect.microsoft.com/VisualStudioJapan/feedback/CreateFeedback.aspx
This earns you a point and marks your thread as Resolved so we will all know you have been helped.
FAQ on the correct forum http://forums.asp.net/p/1337412/2699239.aspx#2699239
yaip
Contributor
4785 Points
1229 Posts
Re: Reading a MS Project file
Feb 26, 2010 07:28 PM|LINK
Thx. I submitted thru':
https://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx
I love computers because: MY WISH IS THEIR COMMAND :)
<Website>
<Gadget>