1. Najim AIT EL ASRI
  2. PowerBuilder
  3. Wednesday, 26 October 2022 11:58 AM UTC

Hi,

I have an application in PowerBuilder 6.5.
I wanted to know if it is possible to deploy it on a network directory and be executed by several users and workstations. Are there any contraints for its implementation ?

Thank you for your answers.

Sivaprakash BKR Accepted Answer Pending Moderation
  1. Thursday, 27 October 2022 05:09 AM UTC
  2. PowerBuilder
  3. # 1

We Love Powerbuilder 6.5

Yes, you can place exe, pbd and runtime files in one directory (of server) and create a desktop shortcut (link) to that exe to be executed from any number of client machines.  We have done that in a many number of clients.  Still a couple of clients are using that app though we have stopped support for those applications.

As Chris pointed out, all users have to close the application before copying newer versions.   

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 26 October 2022 18:16 PM UTC
  2. PowerBuilder
  3. # 2

Or another option is upgrade to PB 2022 and use the new PowerClient feature... much simpler, more reliable, and stronger security than anything you could do yourself.  https://www.appeon.com/products/power-client

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 26 October 2022 12:10 PM UTC
  2. PowerBuilder
  3. # 3

Hi Najim;

   Yes, you can place any PB application EXE from any version of a PB IDE on a Windows "server" & let multiple users run from that shared server. The only  challenge is when updating the App EXE as it may have a lock on it if any App user still has the App open.

Regards ... Chris 

Comment
  1. Olan Knight
  2. Wednesday, 26 October 2022 18:11 PM UTC
ONe way to keep it simple is for the app to create an IMALIVE.TXT file, open the file, find the one number, increment it,update the file, then close the file.



Every time the app exits gracefully, it opens the IMALIVE file, reads the value, decrements it, saves it, and closes the file. If the number decrements to zero, delete the file.



When deploying, if the IMALIVE file exists you know at least one user is still active.



This schemes does not handle abends or aborts.
  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.