https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/45837&feed=atom&action=history
Microsoft KB Archive/45837 - Revision history
2024-03-29T05:46:07Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/45837&diff=184624&oldid=prev
3155ffGd: importing KB archive
2020-07-18T16:56:37Z
<p>importing KB archive</p>
<p><b>New page</b></p><div><div id="nsbanner"><br />
<br />
<div id="bannerrow1"><br />
<br />
{|<br />
| Knowledge Base<br />
|<br />
|}<br />
<br />
<br />
</div><br />
<div id="TitleRow"><br />
<br />
= <span id="KB45837"></span>QB 4.50 Help Incorrectly Displays Context Strings As Titles =<br />
<br />
<br />
</div><br />
<br />
</div><br />
<div id="nstext" valign="BOTTOM"><br />
<br />
Article ID: 45837<br />
<br />
Article Last Modified on 11/21/2006<br />
<br />
<div class="notice_section"><br />
<br />
This article was previously published under Q45837<br />
<br />
</div><br />
<div class="summary_section"><br />
<br />
== SUMMARY ==<br />
<br />
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.<br />
<br />
</div><br />
<div class="moreinformation_section"><br />
<br />
== MORE INFORMATION ==<br />
<br />
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:<br /><br />
<br /><br />
<br />
<ol><br />
<li><p>Method 1: Using the context string as a title</p><br />
<pre class="codesample"> .context MyHelpContext<br />
:l13<br />
</pre><br />
<p>This method results in a help screen that is 13 lines long, with a title that reads as follows:</p><br />
<div class="indent"><br />
<br />
<p>HELP: MyHelpContext</p><br />
<br />
</div><br />
<p>QuickBasic incorrectly displays the following:</p><br />
<div class="indent"><br />
<br />
<p>HELP: yHelpContext</p><br />
<br />
</div></li><br />
<li><p>Method 2: Using the &quot;:n&quot; Command to specify a separate title</p><br />
<pre class="codesample"> .context MyFirstHelpContext<br />
.context MySecondHelpContext<br />
.context MyThirdHelpContext<br />
:l13<br />
:n MyHelpContext<br />
</pre><br />
<p>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).</p></li></ol><br />
<br />
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.<br />
<br />
</div><br />
<br /><br />
<br />
Additional query words: QuickBas<br />
<br />
Keywords: KB45837<br />
<br />
<div class="footer"><br />
<br />
<br /><br />
<br />
<br />
-----<br />
<br />
[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]<br />
<br />
<span>© Microsoft Corporation. All rights reserved.</span><br />
<br />
<br />
</div><br />
<br />
</div></div>
3155ffGd