Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class not registered OLE error
Message
From
07/01/1999 12:11:27
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00159660
Message ID:
00173608
Views:
29
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform