Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class not registered OLE error
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00159660
Message ID:
00173489
Views:
58
Randy,

I just read your response today. I have not been on the UT for a while. At first, I tried to uninstall and then reinstall Visual Studio. This did not work. I eventually gave up and reinstalled NT Workstation 4.0. This did the trick. Maybe my registery got damaged.

Thanks for your interest!

>FYI, there were no changes to the VFP 6.0 product with the VS SP1, so I am curious as to what is going on here. So, if you want, you can reinstall your original VFP6 product. Let me know what you find out about this since this is first the product team has heard of this issue.
>
>Randy
>
>>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!
Previous
Reply
Map
View

Click here to load this message in the networking platform