Remove Deprecated Features from PowerBuilder Apps

  • Install Visual Expert for PowerBuilder.
  • Create a new project to analyze your code.
  • To find the calls to a given PowerBuilder feature (built-in object, control, method or attribute) :
    • Select the virtual application "PowerBuilder System Objects" in the Main view.
      PowerBuilder System Objects
    • Then, click on "All PowerBuilder Objects".
      Open the type of item you're looking for, let's say "Functions". (See below)
      Find all PB Objects
    • Locate the deprecated PowerBuilder feature using the Search field above the treeview.
      For instance, type "systemfunctions.findclassdefinition" as shown below:
      Find Unused Features in PowerBuilder Code
    • Click on "Impact Analysis".
      Find Unused Features in PowerBuilder Code
  • To find the calls to an external object or method, checkout the list of external functions:
    • Select a PowerBuilder target in the treeview. Click on "External Functions".
      Find external functions for PowerBuilder Code
    • Search for the function name in the Search field above the treeview.
      For instance, type "GlobalMemoryStatus" as shown below.
      Search external functions in PowerBuilder code
    • Select the external function, and click on "Impact Analysis".
      Find Unused Items in Source Code

See Also

 

Code Review, Code Clean up, Deprecated Features, PowerBuilder