VB Web Spell Checker DLL Readme
Version 2.1
**********************************************************************
New Features
- Support for RichTextBoxes
- Expanded Dictionary
- LoadDictionary, SaveDictionary Methods
- Detects lower case at the start of a sentance
- Remembers where the Spell checker dialog was last displayed
- Faster loading of the dictionary
- Less bugs (!)
**********************************************************************
Notes
The dictionary is slowly expanding. It currently has 5800 words. If you manage
to expand
the dictionary, PLEASE send me it, so that everyone can use it
This DLL is compiled to VB 6. If you want to use it in VB 5, compile the
DLL from the source code. DON'T FORGET to change its filename to vbwSpellCheck_5.dll,
and to change the DLL Base Address. You can randomly generate a DLL Base Address
using the following code:
Randomize
Debug.Print = "DLL Base Address: &H" & LCase(Hex(CLng((32768 - 256 +
1) * Rnd + 256) * 65536))
This DLL is backward compatible with Version 1 of this DLL
**********************************************************************
Credits
The initial code for providing alternative spellings (using SoundEx) was provided
by
www.developersdomain.com
Thanks to VB Accelerator (www.vbaccelerator.com) for some very helpful ideas
on increasing
effeciency and improving code.
**********************************************************************
Properties
AllowAdd - Specifies whether the user is allowed to add items to the dictionary
Dictionary - Sets the path of the dictionary. By default, it is the path of
the DLL,
in a file called dictionary.txt
ShowOnTop - Specifies whether to show the window on top of all other windows.
Warning: If you attempt to display a message box when the spell checker
dialog is displayed 'on top', it may not be visible. Change the ShowOnTop
property to false before attempting to display a message box.
SpellCaption - Specifies the caption of the spell checker's dialog
SpellCheckerForm - Returns the spell checker form
TextBox - Sets the TextBox or RichTextBox that needs to be checked for mistakes
WindowhWnd - Returns the hWnd of the spell checker form
**********************************************************************
Methods
AddCustomItem - Adds a custom item to the dictionary file
LoadDictionary - Loads (or reloads) the dictionary specified in the Dictionary
property. You
will not normally need to use this method, unless your program has made some
changes
to the file
SaveDictionary - Saves the current dictionary
SpellCheck - Checks the TextBox for spelling errors
**********************************************************************
Events
For all of these events (except CompleteSpellCheck), you can set bCancel to
True to cancel
the action
BeforeAdd - Occurs before a new item is added to the dictionary.
BeforeChange - Occurs before a word is changed (in the TextBox).
BeforeSave - Occurs before the dictionary is saved
CompleteSpellCheck - Occurs when the spell check is complete
**********************************************************************
Examples
There is an example project called grpSpell included with the DLL.
**********************************************************************
Distribution notice:
You MAY NOT re-distribute the source code included with the project source code.
Instead,
please provide a link to http://www.vbweb.co.uk/dev/?spell_checker.htm
You are free to use and distribute the compiled vbwSpellCheck.dll file,
provided it is unmodified from the version supplied in this package.
***********************************************************************
Spell Checker
from Unknown Software Publisher
| Filed in
- Cost
- Free
- Version
- 2.1
Page 3 of 3
- Overview
- Screen Shots
- Readme
Comments