Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to read and write to Outlook 2000 Tasks
Message
De
29/04/2003 18:24:39
 
 
À
29/04/2003 17:05:45
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00782524
Message ID:
00782942
Vues:
12
Thanks Tamar, I spent a bit of time with it last night and now have it able to add/edit/delete/find/restrict.

All works well.

Regards
Doug Johnston


>>Hi,
>>
>>Can anyone point me in the right direction to reading and writing to the Task section of Outlook 2000.
>>
>>I have a need to check how many tasks have been allocated for a particular date, check that I am not duplicating a task and writing a new task if necessary.
>>
>
>Bob already pointed you to the book that Della Martin and I wrote. To get at the tasks in Outlook, you use code along these lines:
>
>#DEFINE olFolderTasks 13
>oOutlook = CreateObject("Outlook.Application")
>oNS = oOutlook.GetNameSpace("MAPI")
>
>oTasks = oNS.GetDefaultFolder( olFolderTasks )
>oTaskItems = oTasks.Items
>
>Now you can loop through the oTaskItems collection, reading and changing the tasks.
>
>Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform