Question

I have an assignment which is to import mpp file into database via ASP.NET (C#). Can anyone please advice me on this matter. Any help is very much appreciated.

Thanks.

Was it helpful?

Solution

Depending on the situation, using Interop isn't necessarily a good choice (have to have Project installed on the machine).

You can use MPXJ to open the mpp file and read the information in it. It's free and open-source and works fairly well, though since it's a port from Java, you have to do some things in a Java way in your .NET code.

A paid option is ASPOSE.Tasks, which is a little nicer to use, but pretty expensive.

OTHER TIPS

Project programmability is available in C# but docs are only available for VBA.

This should get you going - all the stuff that is available in VBA can be accessed from C# using the Project Primary Interop Assembly from the list here.

Check out Application.FileSaveAs.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top