I just tried it, I checked the Self Register (in InstallShield, ctmonth.ocx property), and installed it at the fresh pc (without VFP). I still got the error.
the error message:
ERROR#: 1426
MESSAGE: OLE error code 0x80040154: Class not registered
should I register the ctmonth.ocx in my Project Manager? if yes, how to do it, the Project Manager only looks for the files with ext .vcx, not .ocx
please advise.
regards,
Jerry
*---------
I believe you answered your own question. I'm not 100% sure, but I believe if "self register" is not checked, the control will not get registered on the target system. Hence your error.
You can verify by searching for ctmonth in your registry to find the key. And then search for that on the target.
If you can't check self register, you can also add code to your startup routine in your program to check to see if the control is registered, and register it, if not.
>where should I check to know if it's in the registry entry?
>
>In the InstallShield, I've included the file ctmonth.ocx, and I saw it's copied to the target pc.
>
>how can I make sure that it's registered, should I check the Self Register in the file property (in InstallShield)? but then it will confict with another tools which I'm using (VisualReport)
>
>thanks for the help.
>
>regards,
>
>Jerry
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only