Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

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 2935

Trending Articles