Try to look the registry entries for this OCX. I had many cases for one application when on some PCs the same OCX was manually registered from different locations (i.e. one time from, say, C:\myapp, another from C:\winnt\system32). I found that, unless I unregister it first from all used locations, it did not work properly. And MSCOMCTL is a common OCX that can be installed by different applications.
>I have one workstation on a network throwing an error 0x80040154 "Class Not Registered". I re-registered the MSCOMCTL.OCX file on the local machine with REGSVR32 and received the "Successfully registered" message. But I continue to get the "Class not registered" error when I run the foxpro form using the treeview control. Only on this machine - it is running without error on hundreds of other machines. I then reran the InstallShield program that normally registers this stuff, but with no change.
>
>My next step is to unregister, overwrite the MSCOMCTL.OCX file in the hopes it is a wrong version somehow, and manually copy in the correct file and re-register. This may occur tomorrow.
>
>Does anyone have any other ideas or suggestions than the above?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison