- Mark Montgomery
- PowerBuilder
- Wednesday, 6 March 2024 02:47 PM UTC
Hello all fellow PB'ers,
Not sure how to title this question.
Using PowerBuilder 2022 R2 (Build 2828), we are seeing some weird error messages generated from our application (typically null object references) and I was curious if the following could be the cause of the errors.
In our application, we’re using a window with a web browser control that allows the user to connect to an external web site. On that site, they can accept calls from customers which sends JSON to the web browser control in our application. This opens a window in our application with information about the customer.
When the user is not in an active call, they are doing other things in the application. I’ve noticed that if a response window is open (say w_response) and a call is received, a new window (say w_customer) is opened from the web browser control and the user can interact with it. Once they close w_customer, they can then do other things within the application while w_response is still open. Once they click on w_response, then things work as expected where they can’t click away from it. However, nothing forces them to go back to w_response.
I’m kind of grasping at what may be happening but was wondering if something with the PB engine doesn’t like having a response window open while other things are then actively going on. I had thought about trying to close any open response windows before opening w_customer, but that’s going to require a lot of work, I believe.
Any feedback is appreciated.
Thanks,
Mark
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.