P
PeterNZ
Hi all you helpful people.
I want to export a Project to Excel, using a C# MS Project Add In I develop.
I already created a Map. I now use this function call in my code:
saveStatus =
projectApp.FileSaveAs("C:\\temp\\testproject.xls",MSProject.PjFileFormat.pjXLS,
false,false,false,false,Missing.Value,Missing.Value,Missing.Value,
Missing.Value,projectApp.ActiveProject.MapList
["testMap"],Missing.Value,Missing.Value, false,false,false,false,
Missing.Value,false);
The method gets called and return value is true. So far so good. But the
file doesn't get created. Even if I replace the file path with
"Missing.Value" I get a SaveAs Dialog, select the location and click save and
it doesn't complain about anything. But the file just isn't there. Same if I
skip the map and replace this with the Missing.Value as well. Same result.
I use MS Project 2003 Professional and work offline. Did I set a parameter
value incorrectly?
Any ideas?
Thanx
Peter
I want to export a Project to Excel, using a C# MS Project Add In I develop.
I already created a Map. I now use this function call in my code:
saveStatus =
projectApp.FileSaveAs("C:\\temp\\testproject.xls",MSProject.PjFileFormat.pjXLS,
false,false,false,false,Missing.Value,Missing.Value,Missing.Value,
Missing.Value,projectApp.ActiveProject.MapList
["testMap"],Missing.Value,Missing.Value, false,false,false,false,
Missing.Value,false);
The method gets called and return value is true. So far so good. But the
file doesn't get created. Even if I replace the file path with
"Missing.Value" I get a SaveAs Dialog, select the location and click save and
it doesn't complain about anything. But the file just isn't there. Same if I
skip the map and replace this with the Missing.Value as well. Same result.
I use MS Project 2003 Professional and work offline. Did I set a parameter
value incorrectly?
Any ideas?
Thanx
Peter