run a .exe file in the gadget html

hi,

i want to do a simple vista gadget. In the gadget i want 2 buttons. when the user clicks one of the button an "thefile.exe" should run. When the user clicks the other button "thefile.exe" should close. How can i do that?(these are pure html commands) The main question is how can i run an .exe in html?

regards
hkullana
[345 byte] By [hkullana] at [2007-11-20 11:04:34]
# 1 Re: run a .exe file in the gadget html
Call a VBScript function with the following in the function.
Set objShell = CreateObject("WScript.Shell")
objShell.Run "c:\path\to\file.exe"
Set objShell = Nothing
PeejAvery at 2007-11-8 0:43:12 >