Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Quick Start Guides: As-You-Type & Dialog Spell Checking

RapidSpell Desktop .NET

v6.0

Watch our video on setting up as-you-type & dialog spell checking in your Windows Forms application or scroll down for full details.




With RapidSpell Desktop .NET you can add both as-you-type and traditional dialog spell checking to any Windows Forms desktop application. Here we will run through the simple steps to get spell checking setup quickly and easily.

If you haven't already done so, you will need to download and install a free evaluation of RapidSpell Desktop .NET.



As-You-Type Quick Start

Get your project ready (load or create it).

Create your Win Forms project

Add the RapidSpell Controls to your ToolBox

(if you have older versions listed, please remove them).

Select Choose Items in Visual Studio Add the RapidSpell Controls to your toolbox

Note:
.NET 4 users should only add controls from, and reference Keyoti.RapidSpell.NET4.dll
.NET 2 & 3 users should only add controls from, and reference Keyoti.RapidSpell.NET2.dll
.NET 1.x users should use Keyoti.RapidSpell.dll instead

Drag the rapidSpellAsYouType Control onto your Form and add a TextBox.

Drag rapidSpellAsYouType to your form

Set the TextBoxBase property in rapidSpellAsYouType1 to your TextBox.

Set the TextBoxBase property

Run!

Run your application

Note:

  • By default a US English dictionary is used, to switch it to another dictionary (eg. UK) please click here.
  • To offer an "Add" function to the user, set the UserDictionaryFile property to the file path where the dictionary should be stored (eg. "user-dictionary.txt").

Changing the main dictionary

Please see the bottom of this page



Dialog Quick Start

Get your project ready (load or create it).

Create your Win Forms project

Add the RapidSpell Controls to your ToolBox

(if you have older versions listed, please remove them).

Select Choose Items in Visual Studio Add the RapidSpell Controls to your toolbox

Note:
.NET 4 users should only add controls from, and reference Keyoti.RapidSpell.NET4.dll
.NET 2 & 3 users should only add controls from, and reference Keyoti.RapidSpell.NET2.dll
.NET 1.x users should use Keyoti.RapidSpell.dll instead

Drag the rapidSpellDialog Control onto your Form and add a TextBox.

Drag rapidSpellAsYouType to your form

Set the TextBoxBaseToCheck property of rapidSpellDialog1 to the text box ID.

Set the TextBoxBase property

Add a button to the form and call Check() in the click event.

Add a button to the form Call Check() in the click event

Run!

Run the project

Note:

  • By default a US English dictionary is used, to switch it to another dictionary (eg. UK) please click here.
  • To offer an "Add" function to the user, set the UserDictionaryFile property to the file path where the dictionary should be stored (eg. "user-dictionary.txt").

Users can edit the word being checked using the dialog form and replace it with their own.

Changing the main dictionary

Included are 5 dictionaries assemblies, AU, CA, UK and US English and a combined UK and US dictionary. These are located in the Dictionaries folder under the install folder.

To change the dictionary being used;

  1. Add the Dict File of your choice to your project -

    a. Copy the Dict File from the install folder, typically C:\Program Files (x86)\Keyoti Inc\RapidSpell Desktop .NET\Dictionaries
    (files with .2 in them are compressed)

    b. Paste the Dict File to your project folder

    c. Open your Visual Studio project, right click within the Solution Explorer select 'Add Existing Item' and locate the Dict File (you may need to change the File Types to 'All Files')

    Solution Explorer

  2. In the properties pane for the Dict File, set it as an Embedded Resource

    Embedded Resource

  3. Set the DictFilePath in the spell check controls to the name of the Dict File
    (in the screen-shot that would be 'DICT-EN-UK-UKEnglish.2.dict')

    DictFilePath

Note: By default, when a Dict File is not specified, the built-in US English dictionary is used.










About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.