1) you should build an activeX web control
2) add the Exec() FUNCTION in the ActiveX Control
3) using the activeX Control in your application, invoke the Exec() in the DBGrid Cilck event method.
4) evevy Client have to install this activeX Control when they run your application