Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class not registered error
Message
De
18/07/2007 09:58:45
 
 
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:
01241494
Vues:
41
Sergey

The line that triggers the error is the createobject line.

The full error is OLE error code 0X80040154: Class not registered.

How would I go about removing the OLE public from spellcheck and slpchkdialog?

Gaylen




>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform