From: Spence on

"BeeJ" <nospam(a)> wrote in message
>I would like to prevent my ActiveX EXE from starting by double-clicking it
>in Windows Explorer.
> Only the main app that instantiates the ActiveX EXE should do this.
> How do I prevent this?
> The only crude way I can think of is to start a timer in the Initialize
> event and if a parameter is not set by the timeout then it is not the main
> app that is starting it. But there has to be a more sophisticated method.

If you are developing ActiveX components, the Component Tools Guide should
be your closest friend...