1. Matt Haas
  2. PowerBuilder
  3. Wednesday, 5 August 2020 17:04 PM UTC

if i start the app in the ide it works fine. if i start the app via the generated exe (32-bit) it fails. The problem is it doesn't create a nonvisulobject, which is required in the startup script. it's a simple create objectname which fails.

For test purposes i tried to create different nvo's but all failed to be created. there is no message or runtime error triggered.

Does anybody have a clue what it could be or is it a bug?

Thanks

Matt Haas Accepted Answer Pending Moderation
  1. Wednesday, 5 August 2020 17:10 PM UTC
  2. PowerBuilder
  3. # 1

Sorry forgot its PB2019 R2 build 2353. it's the same with build 2328 on windows 10.

Thanks

you can email me at mat.haas@ymail.com

 

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Wednesday, 5 August 2020 17:47 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Matt -

You might be missing one or more run-time support files. If you have not already done so, create an MSI using the Run-time Package Utility, install your app from that, and report back.

Regards, John

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 5 August 2020 18:01 PM UTC
  2. PowerBuilder
  3. # 3

Hi Matt;

   It sounds like you might be missing creating a PBD for every PBL. Not only is this important for DataWindow objects dynamically assigned, it also pertains to dynamically opened controls (OpenUserObject), dynamically opened Tab Pages (OpenTabPage) and dynamically opened windows (Open from a variable). Note that this does not pertain to the App when run from the IDE - only from EXE's.

   Check the App's Project object in the Project Painter and see if you have that option checked. For example:

HTH

Regards ... Chris

Comment
There are no comments made yet.
Matt Haas Accepted Answer Pending Moderation
  1. Wednesday, 5 August 2020 18:25 PM UTC
  2. PowerBuilder
  3. # 4

Thanks for your replies.

PBD is checked for all PBL's.

I start the exe on the machine where pb is installed, i checked all the paths to the deplymentkit files are avilable in the system path variable.

Any thoughts?

Regards Matt

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 5 August 2020 19:42 PM UTC
Hi John ... not required if the PB run-time DLL's location is in the System Path.
  1. Helpful
  1. John Fauss
  2. Wednesday, 5 August 2020 21:44 PM UTC
Good to know. Thanks, Chris!

Maybe a DLL version mismatch?
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 6 August 2020 14:11 PM UTC
That is certainly possible!
  1. Helpful
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Thursday, 6 August 2020 00:20 AM UTC
  2. PowerBuilder
  3. # 5

In the category of "is it plugged in?":

   Any program that the user can see MUST have a visual object associated with it, usually a FRAME window.
   If your program has no visual object then nothing will every be seen by the user.


Good Luck,

Olan

 

Comment
There are no comments made yet.
Matt Haas Accepted Answer Pending Moderation
  1. Thursday, 6 August 2020 08:21 AM UTC
  2. PowerBuilder
  3. # 6

Found the problem - Chris was right it was a missing PBD. I think i am going blind, i should have recognized it.

My PBL's are splitted in Categories and reside in different Folders. For the App i have to copy the PBD's into the App-Folder. Unfortunately I missed one.

Sorry and thanks for your comments.

Regards Matt

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 6 August 2020 14:12 PM UTC
Hi Matt ... That is awesome news - glad that you found the issue! :-)
  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.