User have the option in Microsoft Outlook to click on the text in the upper right of their outlook "Try the New Outlook". When they click that it closes older outlook and opens outlook in a newer look and feel.
This breaks the Powerbuilder code below.
ole_outlook = create oleobject
i_rc = ole_outlook.connecttonewobject("outlook.application")
returns -3 which means Object could not be created
Is there a workaround or newer connecttonewobject command in Powerbuilder for newer outlook?
Outlook
Revert New Outlook back to the old outlook the powerbuilder code works.
Not sure how much time we have until the old Microsoft outlook goes away and we only have the newer outlook available from Microsoft.
I have also tired and it throws a -3 in the newer outlook also.
i_rc = ole_outlook.connecttonewobject("outlook.application.16")
returns -3 which means Object could not be created.