1. STEVE ALDWIN ROSARIO
  2. PowerBuilder
  3. Monday, 29 May 2023 08:29 AM UTC

Hi,

Good day.

 

Please help How to recover an object class and its source code from a PBD. Because in my Workspace the objects were overridden by the latest version. In my test folder, I have only copied the PBDs excluding the PBL libraries for testing purposes.

Is there a way to reverse engineer the PBD in my test folder to retrieve the object and its source code.

Help will be greatly appreciated.

Thanks.

-Steve

Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 31 May 2023 13:46 PM UTC
  2. PowerBuilder
  3. # 1

I have a free utility DWFromPBD that you can get the source code to from here:

https://www.topwizprogramming.com/tools.html

Migrate the code and build an exe and run it.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 30 May 2023 17:31 PM UTC
  2. PowerBuilder
  3. # 2

Hi Steve;

  Yes, there are ways to extract the Source Code from a PBD. However, they are not sanctioned for use by Appeon. They are 3rd party utilities that you can use (at your own risk as they might not be trustworthy).

   I would suggest contacting Mr Don Clayton at Intertech. He might be able to help you here as I have heard that he has been able to perform this service for other PB customers. FYI: https://www.appeon.com/consultants/partner/intertech-consulting-inc.html

HTH

Regards .. Chris

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 30 May 2023 13:12 PM UTC
  2. PowerBuilder
  3. # 3

This is why you need to use source control. PB Native that comes with PowerBuilder doesn't keep object history but all others do.

Comment
There are no comments made yet.
Sivaprakash BKR Accepted Answer Pending Moderation
  1. Tuesday, 30 May 2023 12:09 PM UTC
  2. PowerBuilder
  3. # 4
Comment
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Tuesday, 30 May 2023 07:26 AM UTC
  2. PowerBuilder
  3. # 5

Hi Steve,

Sorry, because there is no source code for objects stored in PBD you can't restore it.

But you could try to recover DataWindows from PBD using LibraryExport function. If this doesn't work you can also try to use Describe function with DataWindow.Syntax.

HTH,

René

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.