1. Darren Longenecker
  2. PowerBuilder
  3. Thursday, 7 December 2023 20:10 PM UTC

2019 R2 Build 2353 running on Win10

 

Got a compile problem:

Have a few TreeViews in different windows that won't work after compiling. They work in the dev environment, just not in the compiled version. 

I've tried regenerating all my objects; regenerating all the pfc's; trying older copies of pfc's; regenerated my objects again using the older pfc's.

Thinking next move is reinstalling PowerBuilder but thought I'd check here first.

 

Thx.

 

 

 

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 7 December 2023 20:51 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Darren;

  Note that PB 2019 R2 is now End-Of-Life since 2022.08.06.  I would suggest upgrading to PB 2019 R3 (LTS edition) or higher (ie: PB 2022 Rx).

  Q: Are you trying to use the TV "Control" or a TV DataWindow or both?

Regards .. Chris

Comment
There are no comments made yet.
Darren Longenecker Accepted Answer Pending Moderation
  1. Friday, 8 December 2023 16:17 PM UTC
  2. PowerBuilder
  3. # 1

Upgrading to R3 ironed it out.  

 

THX

Comment
  1. Chris Pollach @Appeon
  2. Friday, 8 December 2023 17:14 PM UTC
That is "awesome" news Darren!

Also too that you are now on a supported release. ;-)
  1. Helpful
  1. John Fauss
  2. Saturday, 9 December 2023 03:20 AM UTC
I'm glad you were able to get this issue resolved, Darren. Would you please take a moment and mark this thread as "Resolved"? Thank you!
  1. Helpful
There are no comments made yet.
Darren Longenecker Accepted Answer Pending Moderation
  1. Thursday, 7 December 2023 22:10 PM UTC
  2. PowerBuilder
  3. # 2

Curious to know if there's other supporting files that facilitate the treeview functions besides the class libraries? That those files may be corrupted?

 

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 8 December 2023 16:22 PM UTC
Thanks for sharing the solution!
  1. Helpful
There are no comments made yet.
Darren Longenecker Accepted Answer Pending Moderation
  1. Thursday, 7 December 2023 21:18 PM UTC
  2. PowerBuilder
  3. # 3

Ok I'll upgrade. 

I'm using a control. The branch selections drive a datawindow control next to it on the same window.

I have two diff places I use a tv and both are messed up

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 7 December 2023 21:31 PM UTC
Can you better describe ... "both are messed up"?
  1. Helpful
  1. Darren Longenecker
  2. Thursday, 7 December 2023 21:51 PM UTC
One will populate w/ initial result set but none of the rows will branch when click "+". The datawindow next to it is blank and never populates despite what is clicked in the tv.

In dev, the tv works fine; whatever tv item is selected is then used to determine the datawindow object on the datawindow next to the tv and retrieves/shows data..

In the compiled version, when traced on SQL Profiler, the SQL used to populate the datawindow object is never executed.



THe other tv works similarly --but w/ this one, the tv will not populate either. So a blank tv next to a blank datawindow.



  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 7 December 2023 22:18 PM UTC
Sounds like the issue might be caused because you did not compile all your PBLs into PBDs OR you missed deploying a PBD with your App's EXE (maybe)?
  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.