I have the version 6.1.83.41. I am on W2K SP2
Look at how your calling the object. If it has "MsComctlLib.SBarCtrl.#", try removing the # to show "MsComctlLib.SBarCtrl"
The number locks you to a version.
Tracy
>Hi,
>
>I've begun distributing a VFP8 app to customers and I've bumped into a new problem that didn't seem to raise its head in the past.
>
>The problem is the MS Status Bar inside of MSCOMCTL.OCX. On my development machine this file is version number 6.0.88.62.
>
>On some client machines (notably W2K Pro) my app installs properly but when they run it, an error is thrown (class not registered) that I have traced to the attempt to instantiate the status bar.
>
>I have had them manually unregister and reregister that OCX and we get the same results.
>
>Interestingly, some clients report that they can install the same app on other W2K Pro machines and everything works fine. So I'm struggling with a local machine problem.
>
>I thought maybe service packs would be a quick solution but when comparing the failing machines with the successful ones, I'm not so sure. For instance compare these machines:
>
> W2K, sp1 - app works
> W2K, sp1 - does not work
> W2K, sp3 - does not work
>
>Can anyone confirm that I have the latest file (MSCOMCTL.OCX v6.0.88.62)?
>
>Are there other dependencies when using this OCX?
>
>Any other ideas?
>
>Thanks,
>Guy
Tracy