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

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.
 
K

Ken Slovak - [MVP - Outlook]

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.
 

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