OutLook & ActiveInspector

OutLook & ActiveInspector

Postby Antonio Linares » Thu Aug 10, 2006 6:39 pm

Has someone been able to access ActiveInspector from OutLook ?
Code: Select all  Expand view
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
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 72 guests