1. backya arun
  2. PowerBuilder
  3. Sunday, 19 December 2021 14:04 PM UTC

Dear Appeon,

we missed some objects corresponding to particular pbl file. i have that pbd. please advice how to view that script??

 

Thanks

Backya

backya arun Accepted Answer Pending Moderation
  1. Tuesday, 21 December 2021 05:14 AM UTC
  2. PowerBuilder
  3. # 1

Hi miguel,

The links you mentioned doesnt work for powerbuilder 2019... tlit supports till 12.5 any other free software to decompile pbd?? 

 

 

Thanks

Backya

Comment
  1. Roland Smith
  2. Tuesday, 21 December 2021 14:13 PM UTC
Per a comment yesterday, they have a copy of the library from April but it is missing from their May copy. I think they should take a copy of the library from April and re-code any changes made in May.
  1. Helpful 1
  1. Miguel Leeuwe
  2. Tuesday, 21 December 2021 20:16 PM UTC
yes, but ... do they know which changes they made if "they" don't seem to use source control. This will be a tough one.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 21 December 2021 22:08 PM UTC
Good reminder to use source control
  1. Helpful
There are no comments made yet.
backya arun Accepted Answer Pending Moderation
  1. Monday, 20 December 2021 05:37 AM UTC
  2. PowerBuilder
  3. # 2

 

hi

can you please tell me what is source control,

 

Thanks 

Backya

Comment
  1. Miguel Leeuwe
  2. Monday, 20 December 2021 06:08 AM UTC
Source control allows you to maintain "copies / a history" of your source code when doing changes. The advantage it offers you, is that when you make changes and later want to go back in time, you can use the source control to do so. It's also useful to compare any changes done in time, comparing with previous versions. It also allows a team to use the same source code and work on it at the same time.

https://lonewolfonline.net/source-control/ or

https://www.perforce.com/blog/vcs/what-source-control for a better explanation.

regards.
  1. Helpful
  1. Miguel Leeuwe
  2. Monday, 20 December 2021 06:10 AM UTC
Some of the most used source control tools are: SVN, Git, TFS, etc.
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Monday, 20 December 2021 04:33 AM UTC
  2. PowerBuilder
  3. # 3

If you use source control, then you should be able to - at least - get the exported sr* files from it and be able to compare it with the current objects in the pbl.

If you're not using any form of source control, the maybe you could use a pb decompiler tool. There was this Chinese one, not free, but if your code is important enough, worth paying the price. I've used the free version in the past and it worked great (it does limit the exported lines of code though).

PBKiller: https://www.softpedia.com/get/Programming/Coding-languages-Compilers/PB-DeCompiler.shtml
Download: https://www.softpedia.com/get/Programming/Coding-languages-Compilers/PB-DeCompiler.shtml#download
http://mis2erp.com/pageen.html (you will have to translate any pages you visit, depending on how good your Chinese is). Probably the same product, but in English if lucky: https://www.zedload.com/search.php?q=Pbkiller&log=1&x=0&y=0 (you'll have login before you can download on this one).

good luck!

Comment
There are no comments made yet.
backya arun Accepted Answer Pending Moderation
  1. Monday, 20 December 2021 02:35 AM UTC
  2. PowerBuilder
  3. # 4

Hi smith,

We have march dated pbl... but we need to view code for may month pbl. We mussed that one

 

Thanks 

Backya

Comment
  1. Roland Smith
  2. Monday, 20 December 2021 17:32 PM UTC
An old one is better than none. You can copy from the older library and re-apply any changes made between March and May.
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Sunday, 19 December 2021 22:28 PM UTC
  2. PowerBuilder
  3. # 5

As Chris said, you can add the PBD to the library list. You won't be able to see the code scripts but you will be able to run the app.

Can you get the missing objects from a source control system or from a copy of the pbl from an earlier version?

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Sunday, 19 December 2021 16:13 PM UTC
  2. PowerBuilder
  3. # 6

Hi Backya;

  Just add the PBD to your App "target's" library list.

Regards ... Chris

Comment
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.