Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need change to code
Message
From
05/05/2004 12:37:56
James Fuchs
Kenneth B. Moll & Associates, Ltd.
Chicago, Illinois, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Need change to code
Miscellaneous
Thread ID:
00901244
Message ID:
00901244
Views:
61
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

How can I modify this so as to do that?
Thanks!
Jim Fuchs
Kenneth B. Moll & Associates, Ltd.
312-558-6444
Next
Reply
Map
View

Click here to load this message in the networking platform