Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Register OLE control on network
Message
De
03/11/1998 17:35:45
 
 
À
03/11/1998 16:26:54
Rick Hawkins
Rose Valley Software Studio
Wallingford, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00154097
Message ID:
00154132
Vues:
17
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform