Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Troubles with Outlook
Message
De
22/11/1999 10:48:13
 
 
À
22/11/1999 10:47:42
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00293837
Message ID:
00293922
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform