R
rayyang
I want to convert a mpp to xml by automation.
But I don't know how to use the api and msdn does not say enough to it.
Here is the code to save the mpp to xmlapp.FileSaveAs(
"c:\\" + filename,
MSProject.PjFileFormat.pjMPP,
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
"MSProject.XMLDOM",
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
doc, // xmlName (What is this object?)
oMissing);
I don't know which object it needs in the xmlname parameter.
Is anyone has some idea about this?
But I don't know how to use the api and msdn does not say enough to it.
Here is the code to save the mpp to xmlapp.FileSaveAs(
"c:\\" + filename,
MSProject.PjFileFormat.pjMPP,
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
"MSProject.XMLDOM",
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
oMissing,
doc, // xmlName (What is this object?)
oMissing);
I don't know which object it needs in the xmlname parameter.
Is anyone has some idea about this?