https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/105861&feed=atom&action=history
Microsoft KB Archive/105861 - Revision history
2024-03-29T12:43:32Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/105861&diff=263889&oldid=prev
X010: Text replacement - """ to """
2020-07-20T09:10:14Z
<p>Text replacement - """ to """</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:10, 20 July 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l35">Line 35:</td>
<td colspan="2" class="diff-lineno">Line 35:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>HelpSearch<br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>HelpSearch<br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>HelpUsingHelp</blockquote></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>HelpUsingHelp</blockquote></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This article supplements the information in online Help. To open this Help topic in Word for Windows, click Contents on the Help menu and then choose the <del style="font-weight: bold; text-decoration: none;">&quot;</del>Programming with Microsoft Word<del style="font-weight: bold; text-decoration: none;">&quot; </del>topic. In Word for the Macintosh, click the Help icon and select Microsoft Word Help.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This article supplements the information in online Help. To open this Help topic in Word for Windows, click Contents on the Help menu and then choose the <ins style="font-weight: bold; text-decoration: none;">"</ins>Programming with Microsoft Word<ins style="font-weight: bold; text-decoration: none;">" </ins>topic. In Word for the Macintosh, click the Help icon and select Microsoft Word Help.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l48">Line 48:</td>
<td colspan="2" class="diff-lineno">Line 48:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><blockquote>http://support.microsoft.com/directory/overview.asp</blockquote></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><blockquote>http://support.microsoft.com/directory/overview.asp</blockquote></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The commands listed in the <del style="font-weight: bold; text-decoration: none;">&quot;</del>Summary<del style="font-weight: bold; text-decoration: none;">&quot; </del>section of this article are single line commands that you can use in a macro to allow a user easy access to help. Below is a sample macro that shows how you can use these commands.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The commands listed in the <ins style="font-weight: bold; text-decoration: none;">"</ins>Summary<ins style="font-weight: bold; text-decoration: none;">" </ins>section of this article are single line commands that you can use in a macro to allow a user easy access to help. Below is a sample macro that shows how you can use these commands.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Example ===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Example ===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre class="CODESAMP"> Sub MAIN</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre class="CODESAMP"> Sub MAIN</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> Begin Dialog UserDialog 201, 108, <del style="font-weight: bold; text-decoration: none;">&quot;</del>Help!<del style="font-weight: bold; text-decoration: none;">&quot;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> Begin Dialog UserDialog 201, 108, <ins style="font-weight: bold; text-decoration: none;">"</ins>Help!<ins style="font-weight: bold; text-decoration: none;">"</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> OKButton 9, 79, 88, 21</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> OKButton 9, 79, 88, 21</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> CancelButton 102, 79, 88, 21</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> CancelButton 102, 79, 88, 21</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> OptionGroup .HelpChoice</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> OptionGroup .HelpChoice</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 12, 6, 180, 16, <del style="font-weight: bold; text-decoration: none;">&quot;</del>Help Contents<del style="font-weight: bold; text-decoration: none;">&quot;</del>, .OptionButton1</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 12, 6, 180, 16, <ins style="font-weight: bold; text-decoration: none;">"</ins>Help Contents<ins style="font-weight: bold; text-decoration: none;">"</ins>, .OptionButton1</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 12, 23, 180, 16, <del style="font-weight: bold; text-decoration: none;">&quot;</del>Examples/Demos<del style="font-weight: bold; text-decoration: none;">&quot;</del>, .OptionButton2</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 12, 23, 180, 16, <ins style="font-weight: bold; text-decoration: none;">"</ins>Examples/Demos<ins style="font-weight: bold; text-decoration: none;">"</ins>, .OptionButton2</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 12, 40, 180, 16, <del style="font-weight: bold; text-decoration: none;">&quot;</del>Active Window Help<del style="font-weight: bold; text-decoration: none;">&quot;</del>,.OptionButton3</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 12, 40, 180, 16, <ins style="font-weight: bold; text-decoration: none;">"</ins>Active Window Help<ins style="font-weight: bold; text-decoration: none;">"</ins>,.OptionButton3</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 12, 57, 180, 16, <del style="font-weight: bold; text-decoration: none;">&quot;</del>Help on Help!!<del style="font-weight: bold; text-decoration: none;">&quot;</del>, .OptionButton4</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 12, 57, 180, 16, <ins style="font-weight: bold; text-decoration: none;">"</ins>Help on Help!!<ins style="font-weight: bold; text-decoration: none;">"</ins>, .OptionButton4</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> End Dialog</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> End Dialog</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Dim dlg As UserDialog</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Dim dlg As UserDialog</div></td></tr>
</table>
X010
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/105861&diff=49267&oldid=prev
3155ffGd: importing KB archive
2020-07-18T15:04:20Z
<p>importing KB archive</p>
<p><b>New page</b></p><div>{|<br />
|width="100%"|<br />
== WD: WordBasic Examples: Help Commands ==<br />
|}<br />
<br />
Q105861<br />
<br />
<br />
-----<br />
<br />
The information in this article applies to:<br /><br />
<br />
<br />
* Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c<br />
* Microsoft Word for Windows 95, version 7.0<br />
* Microsoft Word for the Macintosh, versions 6.0, 6.0.1<br />
<br />
<br />
-----<br />
<br />
<br /><br />
<br />
<br />
== SUMMARY ==<br />
<br />
This article contains a sample macro that demonstrates the use of the following WordBasic statements or functions:<br />
<br />
<blockquote>HelpActiveWindow<br /><br />
HelpContents<br /><br />
HelpExamplesAndDemos<br /><br />
HelpIndex<br /><br />
HelpKeyboard<br /><br />
HelpPSSHelp<br /><br />
HelpQuickPreview<br /><br />
HelpSearch<br /><br />
HelpUsingHelp</blockquote><br />
This article supplements the information in online Help. To open this Help topic in Word for Windows, click Contents on the Help menu and then choose the &quot;Programming with Microsoft Word&quot; topic. In Word for the Macintosh, click the Help icon and select Microsoft Word Help.<br />
<br />
<br /><br />
<br />
<br />
== MORE INFORMATION ==<br />
<br />
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please see the following page on the World Wide Web:<br />
<br />
<blockquote>http://www.microsoft.com/partner/referral/</blockquote><br />
For more information about the support options available from Microsoft, please see the following page on the World Wide Web:<br />
<br />
<blockquote>http://support.microsoft.com/directory/overview.asp</blockquote><br />
The commands listed in the &quot;Summary&quot; section of this article are single line commands that you can use in a macro to allow a user easy access to help. Below is a sample macro that shows how you can use these commands.<br />
<br />
=== Example ===<br />
<br />
<pre class="CODESAMP"> Sub MAIN<br />
Begin Dialog UserDialog 201, 108, &quot;Help!&quot;<br />
OKButton 9, 79, 88, 21<br />
CancelButton 102, 79, 88, 21<br />
OptionGroup .HelpChoice<br />
OptionButton 12, 6, 180, 16, &quot;Help Contents&quot;, .OptionButton1<br />
OptionButton 12, 23, 180, 16, &quot;Examples/Demos&quot;, .OptionButton2<br />
OptionButton 12, 40, 180, 16, &quot;Active Window Help&quot;,.OptionButton3<br />
OptionButton 12, 57, 180, 16, &quot;Help on Help!!&quot;, .OptionButton4<br />
End Dialog<br />
Dim dlg As UserDialog<br />
GetCurValues dlg<br />
n = Dialog(dlg)<br />
If n = 0 Then Goto bye<br />
Select Case dlg.HelpChoice<br />
Case 0<br />
HelpContents ' Any of the above commands would<br />
Case 1 ' work inserted here<br />
On Error Resume Next<br />
HelpExamplesAndDemos<br />
Case 2<br />
HelpActiveWindow<br />
Case 3<br />
HelpUsingHelp<br />
End Select<br />
bye:<br />
End Sub </pre><br />
Additional query words:<br />
<br />
Keywords : kbmacro kbprg kbdtacode kbmacroexample winword macword word6 word7 word95 kbhelp<br /><br />
Issue type : kbhowto<br /><br />
Technology : kbWordSearch kbWordWSearch kbWordMSearch<br />
<br />
{|<br />
|width="100%"| <br /><br />
Last Reviewed: December 29, 2000<br /><br />
<span>© 2001 Microsoft Corporation. All rights reserved. Terms of Use.</span><br /><br />
|}</div>
3155ffGd