Programatically Export tasks from outlook 2007 to a csv file C#

  • Thread starter Thread starter Egone
  • Start date Start date
E

Egone

Hi,
I'm writing an add-in for Outlook 2007 using Visual Studio 2008 SP1 in C#,
currently I've added a toolbar and a button. Upon clicking this button all
the user's current task information should be automatically exported to a
..csv file I know you can do this manually but I would like to automate it.

Any help would be greatly appreciated,
Cheers.
 
You have to code that from scratch. You first need to determine what task
fields you want in the CSV file and in what order. Then you have to read
each field in turn for the tasks and write them out as text fields in a CSV
string, probably using StringBuilder. Then you write out the finished text
to a file.
 
Back
Top