1. Olan Knight
  2. PowerBuilder
  3. Monday, 10 July 2017 20:27 PM UTC

PB v2017
1)  I copied the file PBPFC100.chm into the [  C:\Program Files (x86)\Appeon\PowerBuilder 17.0\Help_PB105  ] folder.

2)  I go to "C:\Windows" and double click on the winhlp32.exe application, navigate to my PFC help file (shown in item #1 above), and it works perfectly.

 

3)  I add a custom icon to PowerBar1:
Open the IDE, right click in grey space to the right of the top line of icons
Select "Customize"
Click the CUSTOM radio button
Add an icon from the top DW into the lower DW
Double-click the icon to get to the Properties

In the "Command Line:"  I enter "C:\Windows\winhlp32.exe  C:\Program Files (x86)\Appeon\PowerBuilder 17.0\Help_PB105\PBPFC100.chm"

4)  When I click on the new icon in the PowerBar it gives the following error:

I have tried both with and without double parenthesis around the path & file name, and it fails in each instance.



So......
1) What is the command used in the HELP/Contents menu item?

2)  Where is the file referenced in the HELP/Contents menu item?

3)  What is the command line to use in order to get my PFC Help file to display correctly?


Thanks,

Olan

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 10 July 2017 21:17 PM UTC
  2. PowerBuilder
  3. # 1

Hi Olan;

  The old Win32 Help sub-system (winhlp32.exe) was been discontinued by Microsoft as they went to the W7 release.  You could download it from MS in Windows 7 but, MS blocked it totally in W8.0 and higher.

Regards ... Chris

 

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 11 July 2017 13:36 PM UTC
  2. PowerBuilder
  3. # 2

CHM help files are handled by hh.exe which is located in the Windows folder.

Comment
There are no comments made yet.
Brad Mettee Accepted Answer Pending Moderation
  1. Tuesday, 11 July 2017 13:46 PM UTC
  2. PowerBuilder
  3. # 3

Winhlp32 is for .HLP files, not .CHM files.

What you're looking for is HH.exe, or similar. It's used with hypertext help files (.chm). Check C:\Windows for HH.EXE.

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.