hi, i need to read from a mpx file, append a new task or insert a new task and write it back to the mpx file. I am able to read from the mpx file and write it as such. But i am not able to append or insert a new task and write it back to the mpx file. Can someone help me with the code to the above mentioned task.
So you are already using MPXJ? Why didn't you say so?
What does it mean when you say "i am not able to append or insert a new task and write it back to the mpx file"? Does it mean you don't know how to do that, or did you already try something, but it didn't work as you expected? Did you get a compile-time or runtime error? Did you read the documentation for MPXJ?
It will be much easier to get your question answered if you explain in detail what the problem is, what you tried already and where exactly you got stuck.
hi, i was able to append a task to an mpx file but the task was not visible in the MS Project 2003 while opening, i,e Through program if i read the newly added task, i can able to read the new Task. But i was successful with microsoft xml format that is MSPDI.the code which was used is,
hi, can someone help me with the above mentioned code. I need to append the task to a micrososft xml file i.e MSPDI file, but when i do with the above mentioned code, the first appended task gets inserted after the first task in the file. Also when i try to add some different set of tasks, the first set of added tasks gets added again i,e inserted. [ June 19, 2007: Message edited by: hari babu gopinathan ]