Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class not registered OLE error
Message
De
07/01/1999 12:11:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00159660
Message ID:
00173608
Vues:
30
Tim,

I had a problem like this some time back. I think you have to UnRegister (RegSvr32 /U) first, then Register again (RegSvr32). Mine is VFP5 SP3 on Win95b




>I think something is dreadfully wrong with my computer. When ever I use CREATEOBJECT(...) on a COM object created in VFP 6.0 (SP1), I get the following error:
>
>OLE error code 0x80040154: Class not registered
>
>If I issue the same CREATEOBJECT() command again, I am kicked out of VFP with no error messages or warnings. I even created a simple project with one OLE custom class with one method to return DATETIME(), and I still get the error.
>
>I tried using CreateObject in VB 6.0 (SP1), and I get a similar error. I tried using RegSvr32 to register the DLL manually (no luck!). I thought maybe unistalling Visual Studio and reinstalling it would help (nope!).
>
>I am out of ideas. The next thing to try would be to reformat the hard drive and start over. I really do not have time for that! BTW, I have Windows NT 4.0 (SP 4). Any ideas are welcomed!
>
>Thanks!
Kenneth.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform