Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Error Class Not Registered with mscomct2.ocx
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
OLE Error Class Not Registered with mscomct2.ocx
Miscellaneous
Thread ID:
00662660
Message ID:
00662660
Views:
138
Hi:

I downloaded datepick.zip[Developed by Bill Caton] from the UT that uses the mscomct2.ocx. However, I'm having problems with running this on a machine that does not have the developer license for mscomct2.ocx. Here is the error I get:
OLE Error code 0x80040154: Class not Registered.
The code fails in the CalDateMonth class of VfpDatePicker.vcx.

Here is the line of source code it fails:
.NEWOBJECT( "oleCalendar", "VFPMonthView", "MonthView.prg" )
The runtime/test machine is Windows 2000 with VFP 7.0 sp1 runtime libraries. There are no problems in the development environment--only when I distribute my exe.

So far, I have tried:

(1) regsvr32 mscomct2.ocx
(2) Unregistering and regegistering mscomct2.ocx
(3) Reinstalled Windows 2000 two times -- this my staging test machine.
(4) Viewed KB article Q192693 BUG: License Error with ActiveX Control Added at Run-Time.

Does anyone have any other ideas that I can try?

Thanks!

--Paul
Next
Reply
Map
View

Click here to load this message in the networking platform