1. Russell Jaynes
  2. PowerBuilder
  3. Tuesday, 1 May 2018 14:46 PM UTC

Been using variations of this code for years but we transitioned to Windows 10 64 bit and Office 2016 with Outlook 32 bit version.  Changed the app to be 64 bit.

Creating appointment item for meeting request and set a bunch of properties but .recipients.add(string with email address) fails....does not recognize recipients.

 

Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 1 May 2018 17:23 PM UTC
  2. PowerBuilder
  3. # 1

The bitness of the app and anything external it interacts with (database client, ole) must be the same bitness.

Comment
  1. Russell Jaynes
  2. Tuesday, 1 May 2018 17:35 PM UTC
I even compiled a 32 bit version and received same error...



 



commenting out the recipients code, the appointment item opens with no recipients



something has changed for recipients but I cannot find reference

  1. Helpful
  1. Shenn Sellers
  2. Wednesday, 2 May 2018 16:29 PM UTC
Something did change with Office 2016.  I don't know what exactly the changes were, however, we had to change some of our code to get it to work right.

  1. Helpful
  1. Russell Jaynes
  2. Friday, 4 May 2018 17:38 PM UTC
Roland, I tried the outlook example off your http://www.topwizprogramming.com again



worked before we went to Win 10 and Office 2016 but now fails to retrieve inbox with an error that it cannot find sender name...

  1. Helpful
There are no comments made yet.
Shenn Sellers Accepted Answer Pending Moderation
  1. Tuesday, 1 May 2018 16:21 PM UTC
  2. PowerBuilder
  3. # 2

The bitness of Outlook and your PB Application need to match.

For accessing Outlook, are you just using straight up OLE or do you use Outlook Redemption?  We use Outlook Redemption and have no issues adding the Recipient.

Comment
  1. Russell Jaynes
  2. Tuesday, 1 May 2018 17:06 PM UTC
thank you, researching Outlook Redemption....

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.