1. Swarnendu Das
  2. PowerBuilder
  3. Wednesday, 27 May 2020 20:39 PM UTC

Hello,

When you search for a keyword in a target, library or object you get the result in the search tab below. Is there any way I can get the result programatically? 

Anyone familiar with PBL Peeper can relate to the "Find" feature where you can search for a keyword in a pbl and get the report. As PBL peeper is built in PowerBuilder I am wondering how they have done it. 

My approach is to use LibraryExport to export all the objects to a temp folder and read each file and find the occurrence of the search text. But that's just the brute force way of doing. Wondering if there any smarter way to do that? 

I have attached a screenshot from PBL Peeper to show what kind of report I am looking for. 

P.S. PBL Peeper is not one of the registered softwares I can install in my office laptop.

Attachments (1)
Who is viewing this page
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 28 May 2020 13:45 PM UTC
  2. PowerBuilder
  3. # 1

Hi Swarnendu ;

   Unfortunately, the author Terry Voth is MIA and his PBL Peeper utility is now deprecated.  You might like to try PB Browse instead ... https://www.pbdr.com/software/utilities.htm

  There is also ...

https://archive.codeplex.com/?p=myelkovan

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

  As far as writing your own search/find, exporting the PBL object source to a DBMS and using the TEXT Search indexing feature would be super fast IMHO (ie: SQL Server).

Regards ... Chris

Comment
  1. Swarnendu Das
  2. Thursday, 28 May 2020 14:52 PM UTC
Thank you so much for the valuable information. As always I am a big fan of yours and Bruce. :)
  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.