save as xml!!!

M

mikimik

Not sure if this is the correct place for this question, but here goes
anyway
;)

Im building a program in C# 2.0 using the Project Object Library.
Basically
I want to open an MPP file and save it to an XML file all in my little
app
without the user having to do anything apart from specifying the MPP
file and
save location.


Ive done the opening part, but I cant find any means to save as XML
FileFormat


Currently im using MSProject.Project.SaveAs to perform the save
process, but
when looking through MSProject.PjFileFormat for fileformats there isn't
an
XML file type.


Anyone know how to save to XML programmatically??


Thanks

miki
 
C

Cindy M.

Hi Mikimik,
does's someone knows the answer? please!!!
You might try asking this in the MS Project newsgroup. Since the folks
there may be strongly classic-VB-oriented, try asking for the object model
syntax for opening, saving and closing a Project file without specifiying
a programming language. You should then be able to "translate" this into
C#, although it may take a bit of work...

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top