Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid class string - ole error
Message
From
03/03/2003 08:09:02
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00759589
Message ID:
00760309
Views:
12
Hi,
>
>>>
>I have a co-worker on who's pc this error is suddenly happening. The only ocx in the application is the date picker from mscomct2.ocx. He just got a new pc and everything was reinstalled (supposedly).
>
>I've gone through the archives, and it appears that the answer has been to make sure the ocx is properly registered. His is. I've registered it myself on his pc 4 times now. I also tried unregistering it, renaming it, copying the one over from my pc (where the app works), and re-registering it. No change.
>
>Does anyone have an idea what else might be causing this error? The ocx is registered and it is not corrupt.
><<
>
>Are you sure it's the mscomct2.ocx this is causing the problem? AFAIK the 'Invalid Class String' error only occurs if an application is looking for a specific GUID (ie version). Is this the same on both machines ?

It's the only ocx in the project.

I even had the other person reinstall the app to make sure that the problem wasn't in the VFP dlls themselves.

FWIW the only time I've seen this is when using VFP's XML functions with the wrong MSXML versions.
>
>Regards,
>Viv


This project does not use xml, so I know it's not that. It probably is tied up in the GUIDS somewhere, but since the mscomct2 ocx is registered properly on both computers, I assumed the GUIDS were the same, but perhaps I'd better check that for myself.

Anyway, thanks for your thoughts on this one.

Alan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform