Visual FoxPro Developer Center > Visual FoxPro Forums > Visual FoxPro General > Outlook 2003 Automation: How do you get the current highlighted message with VFP 9.0
Ask a questionAsk a question
 

QuestionOutlook 2003 Automation: How do you get the current highlighted message with VFP 9.0

  • Friday, November 06, 2009 12:20 PMsrjones Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I want to have Outlook open, view a message in the inbox, or open it (still in Outlook) and then go to VFP 9.0 and get that current message and save the body, subject line etc. in a table.

    I can do this using  the .GetFirst, .GetLast, .GetNext methods but I can't find a method for getting the current highlighted or open message.

    Is there a way to get the current highlighted or open message rather than the first or last message?

    I'm using Outlook 2003

All Replies