Microsoft KB Archive/45837

= QB 4.50 Help Incorrectly Displays Context Strings As Titles =

Article ID: 45837

Article Last Modified on 11/21/2006



This article was previously published under Q45837



SUMMARY
When using the HELPMAKE utility to create new help screens for QuickBasic Version 4.50, you must use the &quot;:n&quot; command to force the help screen titles to display correctly. If the context string is used as the title, the first character of the title will not be printed.



MORE INFORMATION
There are two methods for specifying a help screen title for customized help screens. Both are valid and work correctly in Quick Pascal 1.00 and later and QuickC 2.00 and later. However, QuickBasic 4.50's help system is slightly older and does not correctly display titles that result from the first method. The two methods are as follows:

  Method 1: Using the context string as a title .context MyHelpContext :l13 This method results in a help screen that is 13 lines long, with a title that reads as follows:

HELP: MyHelpContext

QuickBasic incorrectly displays the following:

HELP: yHelpContext

  Method 2: Using the &quot;:n&quot; Command to specify a separate title .context MyFirstHelpContext .context MySecondHelpContext .context MyThirdHelpContext :l13 :n MyHelpContext This method displays the &quot;HELP: MyHelpContext&quot; screen whenever the user requests information regarding any of the three help contexts listed just above the &quot;:l&quot; command. This is always displayed correctly by QuickBasic (decoding QB45QCK.HLP shows that this is the method that the original programmers always used for QuickBasic). 

There is no way to work around this problem, other than to use the &quot;:n&quot; command to specify the title. The actual search mechanism interprets the line correctly (as a context), so it is not possible to alter the context string (by padding an extra character, for example) and still have the help file work properly.

Additional query words: QuickBas

Keywords: KB45837

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.