Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Troubles with Outlook
Message
From
22/11/1999 10:48:13
 
 
To
22/11/1999 10:47:42
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, United Kingdom
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00293837
Message ID:
00293922
Views:
22
Ahh...missed the DEFINE.....

>
>>Yes, it's a collection but one that Fox can't seem to figure out.
>
>Thanks for the sanity check<s>
>
>>One thing I am curious about, GetDefaultFolder(INBOX). I am assuming that you are using the constant int value for inbox there and not just INBOX?
>
>Yes, hence the #DEFINE.
>
>>>#DEFINE INBOX 6
>>>loOutLook = CREATE( "Outlook.Application" )
>>>loNameSpace = loOutLook.GetNameSpace( "MAPI" )
>>>loInboxItems = loNameSpace.GetDefaultFolder( INBOX ).Items
>>>FOR EACH loInboxItem IN loInboxItems
>>>*** do some thing here
>>>NEXT loInboxItem
>
>
>
>Paul
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform