How to pull information out of outlook?

TomScott

New Member
I understand how to go to outlook with code like:

def var vhOutlook as com-handle no-undo.
def var vhTask as com-handle no-undo.
create "Outlook.Application":u vhOutlook connect no-error.
if error-status:error then
create "Outlook.Application":u vhOutlook.
vhTask = vhOutlook:Item(3).
vhTask:Startdate = TODAY.

vhTask:SAVE.
vhTask:CLOSE(0).
release object vhTask.
release object vhOutlook.

However rather than creating a task in this example, what if I wanted to see if a task was completed.

So

If vhTask:Complete = "Yes" Then......

I would be able to update my program. I would like to be able to create tasks, appointments, etc. but then be able to check if they have changed and if they have, to then update my program with that information and keep them both current.

Any ideas?
 
Back
Top