Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class not registered error
Message
 
 
À
18/07/2007 05:27:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01241406
Message ID:
01241417
Vues:
41
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform