FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour OutLook & ActiveInspector
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
OutLook & ActiveInspector
Posted: Thu Aug 10, 2006 06:39 PM
Has someone been able to access ActiveInspector from OutLook ?
function ReadMail()

   local oOutlook, oInspector, oMailItem

   oOutlook = TOleAuto():New( "Outlook.Application" ) 
   
   oInspector = oOutlook:ActiveInspector()
   
   oMailItem = oInspector:CurrentItem()
   
   MsgInfo( oMailItem:Body )
   
return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
OutLook & ActiveInspector
Posted: Thu Aug 10, 2006 11:42 PM

It properly works that way. The only requisite is that the email window is opened :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion