Microsoft KB Archive/117212

= How to Use the FoxPro Spelling Checker (SPELLCHK.APP) =

Article ID: 117212

Article Last Modified on 12/3/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft FoxPro 2.5b
 * Microsoft FoxPro 2.5a
 * Microsoft FoxPro 2.5b
 * Microsoft FoxPro 2.6 Standard Edition
 * Microsoft FoxPro 2.5b for Macintosh
 * Microsoft Visual FoxPro 2.5c for Macintosh

-



This article was previously published under Q117212



SUMMARY
This article is intended to provide supplemental information on how to use the FoxPro spelling checker (SPELLCHK.APP). Note that there are no examples showing how to use the spelling checker in either the manuals or the online Help files.



MORE INFORMATION
_SPELLCHK is a system memory variable that contains the drive, path, and name of the spelling checker program. For example, the value contained in the _SPELLCHK variable might be:   "C:\FOXPROW\SPELLCHK.APP" This information can be found in the online Help file by searching for "SPELLCHK," but cannot be found in any of the manuals.

To illustrate how to use the spelling checker, do the following:

 Use the Screen Builder to create a screen named TEST.  The Setup Code snippet should contain: USE tutorial\salesman   The Cleanup Code snippet should contain: CLOSE ALL  Place the following objects on the screen:  A GET object with an input field of SALESMAN.NAME. An EDIT region object with an input field of SALESMAN.NOTES.</li>  A push button object with a variable field of CHOICE, a push button prompt of "Spell Check" (without the quotation marks), and a VALID clause procedure containing the following code: SET SAFETY OFF CREATE TABLE notefile (dummy C(1), notes m)        APPEND BLANK REPLACE notefile.notes WITH salesman.notes

MODIFY MEMO notefile.notes NOWAIT DO (_SPELLCHK) CLOSE MEMO notefile.notes REPLACE salesman.notes WITH notefile.notes

USE ERASE notefile.dbf ERASE notefile.fpt ERASE notefile.bak SET SAFETY ON

SELECT salesman SHOW GETS </li></ol> </li>  Generate the screen, and then run it by issuing the following command in the Command window: DO TEST.SPR </li></ol>

NOTE: The file MSSPELL.DLL, which is a dynamic-link library installed by Microsoft Word 6.0, Microsoft Excel, Microsoft Publisher, and Microsoft Works for Windows, must be present in the WINDOWS\SYSTEM or WINDOWS\MSAPPS\PROOF subdirectory for SPELLCHK.APP to work.

MSSPELL.DLL is owned and licensed by a third-party vendor. To use this DLL, you must contact the vendor and obtain a licensing agreement. The vendor will require a nominal fee for licensing the usage of its DLL.

Soft-Art's owns MSSPELL.DLL and can be reached at:

Linguistic Software Solutions (Soft-Arts's marketing group) Phone: 813-642-6010 Fax: 813-642-5774 Attn: Pat Carder

Additional query words: VFoxWin FoxMac FoxWin 2.50 memvar docerr

Keywords: KB117212

-

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

© Microsoft Corporation. All rights reserved.