- MARK APTEKAR
- PowerBuilder
- Sunday, 19 March 2023 04:30 PM UTC
Hi, I am using PowerBuilder 2019 R3 build 2703.
Created service for ‘srvany.exe’ on Windows Server 2016.
Program (let’s call it BAR) starts when runs as a service. Window ‘password’ opens from the application object Open event ‘Open(w_pass)’
User id and password sets from INI file in the ‘w_pass’ open event, then calling cb_ok.PostEvent(clicked!)
Database connection established in the cb_ok clicked event then calling Open(w_main)
Window ‘w_main’ not opens if program runs as a service, but if I run that same program on desktop it is working without a problem.
There is another PowerBuilder program (very similar to the BAR, let’s call it ADT) runs on the same machine.
The ADT program is running as service without any problem. Both programs have similar codes how to sign-in and open main window but BAR not working.
Is anyone come across similar issue? Does anyone know what and where I need to check to find the problem?
Thank you, an advance, for your time and help.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.