Are you sure that error is caused by spellchecker? AFAIK, Craig 's spellchecker doesn't use any ActiveX controls. Which line of code generates the error? Does error message include the name of classs in question?
A couple of classes (spellcheck and splchkdialog) are marked OLE Public. I would try to remove trhis attribute.
>I am intermittantly getting a Class not registered error using the spell checker from Craig Boyd.
>
>I set the class library in the init as follows:
>
>
>*** open class library for spellcheck
>SET CLASSLIB TO H:\ps_vfp\spellcheck.vcx additive
>
>
>and call it as follows in the click event of a command button:
>
>
>WITH This.parent
> .oSpellChecker = CREATEOBJECT("splchkdialog")
> .oSpellChecker.Visible = .T.
> .oSpellChecker.begin(this.Parent.edit2)
>ENDWITH
>
>
>
>in the destroy event of the form I release the oSpellChecker object.
>
>At times and on different computers it will throw the error 1426 - "class not registered".
>
>Any ideas as to what is happening or what to look for?
>
>Gaylen
--sb--