Hi Paul,

did you find these posts during your Internet searches?

Enumerating Outlook Folders into Treeview
https://www.tek-tips.com/viewthread.cfm?qid=913176

Copying Emails into a VFP table from Outlook
https://www.tek-tips.com/viewthread.cfm?qid=1784442

Probably you need to open and connect to your Outlook instance your variuos 
.PST files before running any code that searches for folders and emails.

HTH,
Gianni

On Fri, 9 Aug 2024 12:17:51 -0500, "Paul H. Tarver" <p...@tpcqpc.com> wrote:

Ok, before I ask my question, I want to confirm that I've looked at the
Microsoft Office Automation with Visual FoxPro book, searched for Outlook
related messages on this list and spent more than I wanted to on the
Internet and still haven't found a solution that I can use or modify to
accomplish my goal. So, it's up to ProFox now. 

 

Here's what I need to do: I have a system with Outlook 2010 running on it. I
need to access the individual emails stored in multiple pst files with
multiple sub-folders and extract the unique email addresses found on those
emails. Ideally, I'd like to select the .PST file and have a program loop
through all of the folders/subfolders, touch each email and extract any
email addresses that contain a search string. 

 

I can get an Outlook object active in VFP, but things get muddy after that. 

 

Any ideas? Or is this even doable? I feel like the Fox is capable, but at
the moment I'm not. J

 

Paul H. Tarver 
Tarver Program Consultants, Inc. 



 



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/d59hbj5agseqddg2hvv9lg4dobqqcrr...@4ax.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to