PowerBuilder - Problems and Solutions
Configuring Your Distributed PowerBuilder Application to Run as an NT
Service
If you're using Web.PB or another distributed PowerBuilder application server,
you may want to consider configuring it to run as an NT service to simplify
administration. With your PB application server running as an NT service,
it will start automatically every time you reboot your machine! Be sure to
read svrany.wri, and follow this outline:
-
Create/compile your PB 5.0 application into EXE (no special event handling
required).
-
Run the Initsrv. This creates a service entry in the registry.
-
Edit the registry and add a key and value to reference the PowerBuilder
application.
-
In the services section of control panel, select the new service. Change
the properties to startup using admin account, allow using desktop and start
automatically.
-
Reboot your computer.