The ASPSpellLink Class

The ASPSpellLink Class allows you to add a link or button to an ASP page which will initiate the spell checker. It also allows you to modify the spell checker - for example: setting the dialog language to French, or choosing a German dictionary.

Using this class, you can spell-check almost any HTML form field, or HTML element.  You can also spell-check multiple fields at once.

The file  /ASPSpellCheck/ASPSpellInclude.inc must be included into your ASP script to use the ASPSpellLink Class.

Using  ASPSpellLink

The code below shows an example of opening and closing the ASPSpellLink Class .

<!--#include virtual="/ASPSpellCheck/ASPSpellInclude.inc"-->
<textarea id="MyTextArea" name="MyTextArea" cols="30" rows="10" >
Hello World 
</textarea>

<% 

dim myLink
set myLink = new AspSpellLink  'opens the class 
myLink.fields="MyTextArea" ' sets an object ID to be spellchecked
response.write myLink.imageButtonHTML("","","") 'renders a button
set myLink= nothing 'closes the class

%>