From: Spence on

"BeeJ" <nospam(a)nowhere.com> wrote in message
news:i3sj2p$dh3$1(a)speranza.aioe.org...
>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...

http://msdn.microsoft.com/en-us/library/aa240845(VS.60).aspx