Gary
Why don't you use plain-vanilla Outlook automation? Something like the following ( learned from Tamar E. Granor, the real guru of automation ) should get you started:
oOutlookApp = CreateObject("Outlook.Application")
oNameSpace = oOutlookApp.GetNameSpace("MAPI")
oInbox = oNameSpace.GetDefaultFolder(6)
oMessages = oInbox.Items
FOR nMsgIndex = oMessages.Count TO 1 step -1
oMessage = oMessages[nMsgIndex]
? oMessage.Subject
ENDFOR
HTH
Jaime
>Requirement: Need to "store" copies of outlook message received by number of employees with a "job" in VFP application.
>
>Solution1: "copy" in Outlook and read clipboard from VFP.
>Problem: Have code to open/read clipboard and can find format, but how do I then access data within the clipboard? need more than _cliptext. need something like oMessage=CliptoObject()!!??
>
>Solution2: VBScript/macro in outlook to copy current message to export file, VFP looks for file and reads.
>Problem: No idea how to start VBScript/macro side!
>
>Any help with problems or any other solutions would be great!
>
>
>Gary
Why do programs stop working correctly as soon as you leave the Fox?