Re: how to capture button click event?



Thank you for the tip on
An HTA can create a WshShell (progid of "WScript.Shell") object and use
its Exec method to run an external script
I will give that a try. That is a lot easy task to accoplish than the other
way around
"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote in message
news:%23qK$$UFYFHA.2740@xxxxxxxxxxxxxxxxxxxxxxx
> "gg" <gg@xxxxxxxxxx> wrote in message
> news:OPQ6RfCYFHA.2740@xxxxxxxxxxxxxxxxxxxx
>> I have been running afoul with either security or Anti-virus block
>> when I use Create("Scripting.FileSystem") inside an HTA
>
> Do you mean CreateObject("Scripting.FileSystemObject") ?
>
>> The original HTA is captures some user input and then when use
>> clicks the process button, the HTA process the input for the files
>> to manipulate
>> Is there a way I can change the hta to html and let an vbs script
>> take over of the Process button click event.
>
> An HTA can create a WshShell (progid of "WScript.Shell") object and use
> its Exec method to run an external script.
> --
> With best wishes,
> Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
>


.