LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help Getting outlook activex vi to workin Windows 7

Hi Folks,

 

I was looking at a LV8.6 example that searches Outlook Email and Retrieve an Email's Subject, Body, and Return Address.  I can't get this to work in outlook 2010 with Windows 7.  when I execute using highlight execution with a know seach string I do not see any error but it returns blanks.  I'm guessing that I'm not configuring think correct but don't know where to start.  Any guidance would be appriciated.

 

Here is the activex example:  https://forums.ni.com/t5/Example-Code/Search-Outlook-Email-and-Retrieve-an-Email-s-Subject-Body-and/...

 

Regards,

 

-SS



0 Kudos
Message 1 of 5
(2,872 Views)

Works for me using LV2014, Office 2010 and Win7.

 

Ben64

0 Kudos
Message 2 of 5
(2,867 Views)

Did you have outlook opened or closed?  I'm using Outlook 2007.  -SS



0 Kudos
Message 3 of 5
(2,856 Views)

Works in both cases. Note step 8, once it match a search string the message will be deleted so if you repeat the search it will return an empty array.

 

EDIT: If more than 1 match I think only the oldest matched message will be deleted

 

Ben64

0 Kudos
Message 4 of 5
(2,853 Views)

It still won't work for me?  Strange.  -SS



0 Kudos
Message 5 of 5
(2,838 Views)