Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need change to code
Message
 
 
À
05/05/2004 12:37:56
James Fuchs
Kenneth B. Moll & Associates, Ltd.
Chicago, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00901244
Message ID:
00902298
Vues:
18
James,

To get it from the clipboard just use the _cliptext variable in VFP, of course that requires the person to be running Outlook, select the message, copy it to the clipboard and then switch to your application to get the email.

Does it work to use filetostr() on the .msg files?

>A fellow at Microsoft was kind enough to give me a bit of code for grabbing Outlook e-mail data from the Inbox, but he is out of the job now. I want to modify it to get the data not from the Outlook Inbox but instead from the message saved in a directory c:\datatemp (as xxx.msg) or from the Windows clipboard (even better).
>
>*~ Get an object reference to the INBOX (GetDefaultfolder(6))
>goNameSpace = goOlk.GetNameSpace( 'MAPI' )
>goInbox = goNameSpace.GetDefaultfolder(6)
>
>*~ loItems is a reference to the ITEMS collection in the INBOX.
>loItems = goInbox.Items
>liItemCount = loItems.Count
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform