>Eric,
>
>I am talking about the msmapi.ocx. I included it in my application, but some of my users (not all of them) still get the error "OLE error code... Class not registered."
>
>Do I need to register this class on their PCs?
Yes; it does not have to reside on the local system (best that it does) as long as it is located relative to either a permanently mapped drive, or registered on a UNC-based location.
You can register the OCX either using REGSVR32, or by making a call to the Win32 API library that will invoke the OCX/DLL self-registration code (there's an example of how to do this in the FAQ.) Whenever the location of the OCX/DLL changes, or a new version is put in place, the file should be re-registered on each system affected.
>
>Thanks
>
>>Normally you would use clireg32.exe and point it at a .vbr, i.e. "clireg32 myclass.vbr". I assume you are talking about a COM object that you created that you want to register remotely (stub).
>>
>>Remember of course that there are lots of issues here - DLL/EXE, single/multi-use, Automation Manager/DCOM, ACL, etc.
>>
>>>Hello,
>>>
>>>Does anybody know how to register a class on the network? Some of my users received the error "Class not registered".
>>>
>>>Any ideas would be greatly appreciated.