What security ID is the component running under?
You can use a text file or the Windows Event Log.
>I found that out, also. Thanks again. Now I can kill them when they die easily enough. Now I seem to be having a problem accessing a mapped network drive from within the component, as best I can tell. The code works fine if invoked as a regular VFP class locally.
>
>
>Event : "The redirector failed to determine the connection type."
>
>General ideas as to how to create logs for a component etc? Or is all this in the articles and I have not gotten that far?
>
>>You can stop them from the Component Services snap in to the MMC. Go to Administrative Tools | Component Services. Right-click on the component and click Shutdown.
>>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer