ActiveX Control for a web browser

Hi all.

I'd like to make an ActiveX control (or maybe just an object) for use within
a web page.  All I want the control to be able to do is to do a ShellExecute
when it is created, then do nothing at all.  I can do this currently, but
the OCX control created is over 300K, which is unacceptable for such a small

Can I make an OCX which is small using Delphi, to do just this?  The control
doesn't need to have a usable interface, I'm just using a control currently
because that's all I think I can use.