How to Make QuickBasic 4.50 Recognize Custom Help Files (45897)






This article was previously published under Q45897

SUMMARY

You can use the HELPMAKE.EXE utility that is included with QuickC Version 2.00 and Quick Pascal Version 1.00 to make customized Help files for QuickBasic Version 4.50. However, QuickBasic 4.50 does not acknowledge the "HELPFILES" environment setting. The only Help file that it acknowledges is QB45QCK.HLP. How you implement support for your customized Help files depends upon whether you want to replace QuickBasic's original Help file or merely to supplement it.

This information applies to QuickBasic Version 4.50.

Microsoft Basic PDS Version 7.00 includes the HELPMAKE.EXE utility. To use HELPMAKE.EXE with QBX.EXE 7.00, see Chapter 22 of the "Microsoft Basic 7.0: Programmer's Guide" for Microsoft Basic PDS Version 7.00.

MORE INFORMATION

If you want to replace QuickBasic's Help file, rename your customized Help file as QB45QCK.HLP and place it in the directory with QB.EXE. You can now access your own customized contexts but have no access to the original Help screens for QuickBasic.

If you want to supplement QuickBasic's Help file, do the following:

  1. Use HELPMAKE to decode QuickBasic's QB45QCK.HLP as follows:
          HELPMAKE /D /OQB45QCK.TXT QB45QCK.HLP
    						
    (Note: There is no space when using HELPMAKE's /Odestfile switch, which specifies the output destination filename.)
  2. Load QB45QCK.TXT into a text editor or word processor.
  3. Append the source for your customized contexts to the end of QB45QCK.HLP.
  4. Save the file under the name QB45QCK.TXT.
  5. Rename QB45QCK.HLP to QB45QCK.OLD.
  6. Use HELPMAKE to encode the new Help file, as follows:
          HELPMAKE /A: /E /OQB45QCK.HLP QB45QCK.TXT
    						
    (Note: The /A: switch specifies a colon (:) to be the control character to mark lines containing special control information for use by the QB.EXE application's Help system.)
You can now access your customized Help contexts, in addition to the original contents of the Help screens, with QuickBasic's Help system.

For more information about running HELPMAKE, please refer to Chapter 8 of the "Microsoft QuickC Tool Kit" manual for Version 2.0.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB45897