The Program Options window consolidates many program options in one convenient place. The Program Options window can be opened from the main window by clicking the toolbar icon or from the Tools menu.
The first tabpage is for setting the location of PowerBuilder's pb.ini files and which version of PowerBuilder you are currently running against.

The Browse button to the right of each File Location allows you to find the pb.ini for that version. PBSearch requires the location of the pb.ini file so it can determine the current Workspace.
The second tabpage has several program options.

Object External Editor allows you to specify the editor program of your choice when editing object source code or stored procedure source code. The included text editor PBEditor.exe will automatically position itself on the first occurrence of the search string.
The AppPath setting may be required depending on the operating system and whether PowerBuilder development .dll files are in your path.
The Visual Diff Utility is used by the Duplicate Objects Report. You can use a Visual Diff Utility to determine if the duplicate objects are the same or not.
The Number of Hits warning level is to prevent you from getting a huge number of hits back if you accidentally search on some string that an object has alot of. For example, 'end' is not only a keyword in your scripts, it is also part of the object's hidden syntax. Large objects could return hundreds of hits on 'end'.
PBSearch can be set to automatically start when you logon to Windows and sit in the Icon Tray. If you later run PBSearch from an icon or toolbar item in PowerBuilder, the already running copy is activated.
The Scroll Source View options control how the Source Code View at the bottom of the String Search and Stored Procedure Search windows are scrolled to show the hit.
The Hotkey Key and Hotkey Modifier are used to set a system hotkey to restore PBSearch from the Icontray just by pressing those keys. The hotkey is only active while the program is in the Icontray.
The Enable PowerBuilder Tracing checkbox activates PB tracing. This would be used to help debug PBSearch problems.
The Pre-load default target at startup checkbox causes the program to pre-load source code into memory for the default target. This will allow your first search to be much faster.