1. Rory O'Neill
  2. PowerBuilder
  3. Tuesday, 20 July 2021 00:47 AM UTC

I saw this question online and I have the same question. Does anyone have an answer?

 

"
I have read the documentation regarding the use of this function but I have one further question. The Description for this function states: Sets the number of milliseconds that a PowerBuilder client waits before canceling an OLE procedure call to the server. Does this mean actually calling a procedure say write_some_transaction and waiting for it to connect or actually connecting and waiting for the procedure to complete. For example: rs = myoleobject.SetAutomationTimeOut(1000) commit_it = myoleobject.write_trans(ll_genid, command_2) Does SetAutomationTimeOut() wait 1 second for the connection or 1 second for the whole procedure to complete? "
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 20 July 2021 02:43 AM UTC
  2. PowerBuilder
  3. # 1

Hi Rory;

   This is the number of milliseconds that your PB App will wait for an OLE Server to respond to any command your App calls before receiving control back to your App. If a timeout occurs, a Runtime Error is triggered.

Regards ... Chris

Comment
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.