Compile the component as a DLL and install it as a Component Services (COM+) application then instantiate it with CREATEOBJECT(). You will then use Loosely Coupled Events, a feature of Component Services. There is an article on my web site that shows how to do all this.
>Hi all, is there a way to bind events to a DCOM object instantiated with CREATEOBJECTEX function? I know of the IMPLEMENTS keyword in the DEFINE CLASS command but my problem is that this particular DLL won't be registered in the local machine just on the server thus I can't just use a ProgID to instantiate it.
>
>TIA,
>
>Enmanuel
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer