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