Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class not registered error
Message
 
 
To
18/07/2007 05:27:44
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01241406
Message ID:
01241417
Views:
40
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform