>I am using Mscomctl.ocx control that comes with VFP6
>To register it on a fresh system, I copy following three files to
>a new system.
>
>MSCOMCTL.OCX
>MSCOMCTL.DEP
>MSCOMCTL.REG
>
>To register it I run the command
>Regsvr32.exe MsComCtl.ocx
>
>It displayed the message
> "DLLRegisterServer in MSComctl.Ocx succeeded"
>
>When I run my application, I got the error
>
>"OLE error code 0x80040154: Class not registered
> OLE object is being ignored. Record number 14"
I'd guess that the version that you registered is not the same one used when the form was created. Check the ProgID of the control in the form against the ProgID created when you registered the control.