T
Travis
I'm getting a "The argument value is not valid." error when trying to save a
project in c#. I been trying different combinations, but I can't figure what
argument(s) is failing....a lot of them are optional, but c# requires to
specify all. Any ideas?
obj.FileSaveAs("C:\\test.MPP",
Microsoft.Office.Interop.MSProject.PjFileFormat.pjMPP, //Format
false, //Backup
false, //ReadOnly
false, //TaskInformation
false, //Filtered
"", //Table
"", //UserID
"", //DBPassword
"MSProject.MPP", //FormatID
"", //Map
"", //Password
"", //WriteResPassword
false, //ClearBaseline
false, //ClearActuals
false, //ClearResourceRates
false, //ClearFixedCosts
"", //XMLName
false //ClearConfirmed
);
project in c#. I been trying different combinations, but I can't figure what
argument(s) is failing....a lot of them are optional, but c# requires to
specify all. Any ideas?
obj.FileSaveAs("C:\\test.MPP",
Microsoft.Office.Interop.MSProject.PjFileFormat.pjMPP, //Format
false, //Backup
false, //ReadOnly
false, //TaskInformation
false, //Filtered
"", //Table
"", //UserID
"", //DBPassword
"MSProject.MPP", //FormatID
"", //Map
"", //Password
"", //WriteResPassword
false, //ClearBaseline
false, //ClearActuals
false, //ClearResourceRates
false, //ClearFixedCosts
"", //XMLName
false //ClearConfirmed
);