Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8538

Call a virtual MS Outlook via OLE

$
0
0

Hi Guys,

 

I need help on calling MS Outlook via OLE. It is MS Outlook 2010. The li_rc = oleOutlook.ConnectToNewObject("Outlook.Application") returns -2 which indicates "Class name not found". I also tried li_rc = oleOutlook.ConnectToNewObject("Outlook.Application.14"), the same value returned (-2).

 

When outlook is installed locally, then the code runs fine. How do we call if it's a virtual application (using APP-V).

 

Thanks,

Neil


Viewing all articles
Browse latest Browse all 8538

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>