Sign In  Sign Up Live-Chat

Read,Write and update .MPP file

Last post 06-24-2008, 5:40 PM by msfaiz. 5 replies.
Sort Posts: Previous Next
  •  06-23-2008, 5:34 AM 132529

    Read,Write and update .MPP file

    Hi there,

    Is Aspose.task tool can Read , write and update in .MPP file ?

     

    Waiting for your reply

     


    This message was posted using Page2Forum from Our Blog - Aspose.Tasks for .NET
     
  •  06-23-2008, 6:32 AM 132540 in reply to 132529

    Re: Read,Write and update .MPP file

    Dear TulsiV,

    Thanks for considering Aspose.Tasks.

    Aspose.Tasks can read MPX/MPP files, but can only write them back in MPX or in XML format.


    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Engineer
    Aspose Tyumen Team
     
  •  06-23-2008, 7:03 AM 132544 in reply to 132540

    Re: Read,Write and update .MPP file

    Hi Faiz,

    Thanks for quick reply.

    Further I hav question if I made changes like add task in .mpx file and save, that .mpx file can not be load in Ms project so for that how i reflect same changes in .mpp file and keep data changes as .mpx file hav

    eagrly waiting for your reply

    Thanks & Reagrds

    Tulsi V. Chauhan
    IEC – Software Engineer.
    Lear Automotive India Pvt Ltd.
    Phone: (91-22) 25867151
    Fax: (91-22) 25867080
    E-mail: tchauhan@lear.com

     
  •  06-23-2008, 2:17 PM 132623 in reply to 132544

    Re: Read,Write and update .MPP file

    If you are opening the generated mpx file in MS-Project 2007 or other versions, then please change the Legacy Formats option in Tools -- > Options -- > Security tab to Allow loading files with legacy or non default file formats.


    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Engineer
    Aspose Tyumen Team
     
  •  06-24-2008, 12:00 AM 132672 in reply to 132623

    Re: Read,Write and update .MPP file

    Hello Faiz,
     
    I do not have "Allow Legacy Formats..." on my security tab. I have Privacy
    Options and Macro Security. and I am using service pack 2 for Ms Project 2003
     
    Please do needful
     
    Thanks
     
  •  06-24-2008, 5:40 PM 132870 in reply to 132672

    Re: Read,Write and update .MPP file

    What error are you getting?

     

    Save your mpx file in this way.

     

    FileStream fileStream = new FileStream(filename, FileMode.OpenOrCreate, FileAccess.Write);

    //file.Write(fileStream, Encoding.GetEncoding(1252));

    file.Write(fileStream, Encoding.Default);

    fileStream.Close();


    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Engineer
    Aspose Tyumen Team
     
View as RSS news feed in XML