Click here to Skip to main content
13,257,536 members (47,647 online)
Click here to Skip to main content
Add your own
alternative version


35 bookmarked
Posted 15 May 2005

Converter for Microsoft Project 2002 XML file to TODOLIST XML file

, 23 Jan 2006
Rate this:
Please Sign up or sign in to vote.
Converter for Microsoft Project 2002 XML file to TODOLIST XML file.


I have been using .dan.g.'s ToDoList for a very long time now. It's very easy for me to track things that I have to do and also track the projects on which I am working. But there was always a problem related to the creation of task list. My organization uses Microsoft Project (like many other companies) for tracking projects and the cost of development related to these projects. So, I had to make two tasklists, one for the company and the other for myself. ToDoList is much more simpler when compared to Microsoft Project and for daily tracking you don't need rocket applications (like Microsoft Project) to do the tracking. So, I decided to go ahead and make a converter for ToDoList, but the problem was Microsoft Project 2000 didn't support XML, it supported only CVS or tab separated files. Since there wasn't a standard format for the CSV or tab separated files, I chose to make two task lists. Microsoft Project 2002 version had something different, it supported the whole task list to be converted into an XML file and this XML format was standard. This gave me an idea to convert the Microsoft Project 2002 task list to the ToDoList task list.


Before you start using my converter for Microsoft Project, there are some points to be noted:

  • Although ToDoList is made in VC, I have built this application in .NET Framework. Since I have worked with .NET technologies for the past two years, I am much more comfortable with .NET than with VC. The .NET Framework is Microsoft's latest venture, and all the future OS from Microsoft are inherently going to support it. But for now, you will have to download some software to actually make my converter work. See the Software Required section for more details.
  • I have made this application keeping in mind the current XML format supported by ToDoList version 4.1.8. If there are any changes to the format of XML in the future versions of ToDoList, I take no responsibility for any loss of data or such stuff.
  • There are other data which is been captured by MS Project, but my converter will just take the data required for the todolist application. So the converted XML will never be 100% convertible with the original MS Project XML.

Software required

You will require the following software:

Using the software

The converter is very easy to use. Following are the steps to be taken for using the converter:

  • Save the MS Project 2002 or 2003 file as XML.
  • Pass the XML file as a parameter to the command line utility by typing the following at the command line:
TODOListConverter.exe <XML File of Microsoft Project 2002 or 2003>

The converted XML file will be saved to the same directory as the input XML file with a "TODO_" prefixed to the file name.


  • 20th January, 2006 - 1.2
    • Modified the code to adjust to XML changes in MS Project 2003 (Courtesy : ChrisPM)
    • Outputting the file as a ".tdl" file which is the default extension for todolist.
  • 24th May, 2005 - 1.1
    • Added functionality to link predecessors.
    • Mapped hyperlink column data to file reference attribute.
    • Modified the XML to automatically search for xmlns="" string and remove it.
    • Signed the assembly.
  • 16th May, 2005 - 1.0
    • Initial release.


This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


About the Author

Maharishi Bhatia
Program Manager Capgemini
United States United States
I have been working in software industry for the past 11 years, though i am trained to be a pharmacist. Enjoy working on complex and new technologies. Also cleared my SCJP and MCP certification examinations.

You may also be interested in...

Comments and Discussions

QuestionUpdate to current version? Pin
Pierre de la Verre7-Jan-16 2:37
memberPierre de la Verre7-Jan-16 2:37 
Questionconverting is not working Pin
Member 1134350610-Jan-15 1:45
memberMember 1134350610-Jan-15 1:45 
AnswerRe: converting is not working Pin
maharishi_b5-Feb-15 10:49
membermaharishi_b5-Feb-15 10:49 
QuestionBug Report - Invalid Character Translation... Pin
tOPsEEK24-Aug-07 0:07
membertOPsEEK24-Aug-07 0:07 
GeneralTODOList XML format Pin
fathibn15-Oct-06 8:02
memberfathibn15-Oct-06 8:02 
AnswerRe: TODOList XML format Pin
maharishi_b27-Nov-06 7:38
membermaharishi_b27-Nov-06 7:38 
QuestionDowloading last version Pin
Sam Long30-Aug-06 0:27
memberSam Long30-Aug-06 0:27 
Questionis there a tool for the other way around? Pin
elhanan19-Jan-06 5:22
memberelhanan19-Jan-06 5:22 
AnswerRe: is there a tool for the other way around? Pin
maharishi_b19-Jan-06 23:53
membermaharishi_b19-Jan-06 23:53 
GeneralRe: is there a tool for the other way around? Pin
elhanan20-Jan-06 1:24
memberelhanan20-Jan-06 1:24 
AnswerRe: is there a tool for the other way around? Pin
maharishi_b23-Jan-06 20:03
membermaharishi_b23-Jan-06 20:03 
NewsAlso works for Project 2003 - with one modification Pin
ChrisPM6-Jan-06 7:08
memberChrisPM6-Jan-06 7:08 
GeneralRe: Also works for Project 2003 - with one modification Pin
pauljenkins7147-Jan-06 17:57
memberpauljenkins7147-Jan-06 17:57 
AnswerRe: Also works for Project 2003 - with one modification Pin
maharishi_b18-Jan-06 2:27
membermaharishi_b18-Jan-06 2:27 
GeneralRe: Also works for Project 2003 - with one modification Pin
ChrisPM19-Jan-06 11:44
memberChrisPM19-Jan-06 11:44 
GeneralRe: Also works for Project 2003 - with one modification Pin
richardmorgan30-Oct-07 0:22
memberrichardmorgan30-Oct-07 0:22 
GeneralRe: Also works for Project 2003 - with one modification Pin
SlimFast20006-Dec-07 2:07
memberSlimFast20006-Dec-07 2:07 
GeneralMS Project 2003 XML Option. Pin
Sreenivas MK28-Jun-05 22:54
memberSreenivas MK28-Jun-05 22:54 
GeneralCould also be written as a TDL Importer Pin
.dan.g.16-May-05 15:13
member.dan.g.16-May-05 15:13 
GeneralRe: Could also be written as a TDL Importer Pin
maharishi_b16-May-05 19:58
membermaharishi_b16-May-05 19:58 

.dan.g. wrote:
[update] should have looked at the code first. it's way beyond my current skillset to translate it. ps. does anyone know of any online documentation that shows how to create dlls exporting pure virtual interfaces under .NET? i've tried googling but without success. i just want to increase my knowledge in the area since it may be a useful way for me to start using .NET.

pure virtual interfaces in VC are nothing but interface in C# you can create a interface and give all the method declarations in that. the class which is implementing the interface has to give a concrete implementations of all the methods defined in the interface. More than that you have to create the pure virtual interface in com and give it to .net it will automatically create a seperation layer between .net and com. And all the calling between the two sections will be taken care of.

I will be happy if you can provide just the dll of the IImportTasklist or IExportTasklist pure virtual interface so that i can test my project on that.


Maharishi Cool | :cool:

Nothing is Impossible. Even impossible spells "i m possible"
GeneralGood to see MS Project articles Pin
Miguel Lopes16-May-05 5:10
memberMiguel Lopes16-May-05 5:10 
GeneralRe: Good to see MS Project articles Pin
maharishi_b17-May-05 0:12
membermaharishi_b17-May-05 0:12 
GeneralRe: Good to see MS Project articles Pin
WillOMalley20-May-05 11:58
sussWillOMalley20-May-05 11:58 
GeneralRe: Good to see MS Project articles Pin
Miguel Lopes20-May-05 15:26
memberMiguel Lopes20-May-05 15:26 
GeneralRe: Good to see MS Project articles Pin
WillOMalley23-May-05 3:50
sussWillOMalley23-May-05 3:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.171114.1 | Last Updated 23 Jan 2006
Article Copyright 2005 by Maharishi Bhatia
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid