View Single Post
  #2  
Old February 16th 09, 02:48 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Programatically Export tasks from outlook 2007 to a csv file C#

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Egone" wrote in message
...
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.


Ads