Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to run an application exe running in server and return the response in html

<html>
<head>
    <title>Application Executer</title>
    <HTA:APPLICATION ID="oMyApp" 

        APPLICATIONNAME="Application Executer" 

        BORDER="no"

        CAPTION="no"

        SHOWINTASKBAR="yes"

        SINGLEINSTANCE="yes"

        SYSMENU="yes"

        SCROLL="no"

        WINDOWSTATE="normal">
    <script type="text/javascript" language="javascript">
        function RunFile() {
        WshShell = new ActiveXObject("WScript.Shell");
        WshShell.Run("c:/windows/system32/notepad.exe", 1, false);
        }
    </script>
</head>
<body>
    <input type="button" value="Run Notepad" onclick="RunFile();"/>
</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: <pre; html tag that preserves spacing 
Html :: html5 vs css3 
Html :: how to add vertical space between two text boxes in html 
Html :: structure radio in html 
Html :: visa card 
Html :: what is com.apple.parsecd 
Html :: functioning search engine code 
Html :: block iframe pubblicity 
Html :: element is no longer attached to DOM. Unable to animate. 
Html :: href="/jump/? 
Html :: canvas drawImage wrong size image 
Html :: How to add background color in specific region using HTML 
Html :: bootstrap 4 vertical tabs responsive 
Html :: write a html code using frames with background color 
Html :: camerx mlkit barcode scanner 
Html :: html beautifier 
Html :: simple landing page html 
Html :: html basic tags 
Html :: meaning of frenzy 
Html :: fontawesome 4.7 cdn 
Css :: unselectable text css 
Css :: background color none 
Css :: button background color remove 
Css :: how to make text bold in css 
Css :: center div css 
Css :: limit p css 
Css :: how to center an hr 
Css :: div border glow effect css 
Css :: css select last character 
Css :: how to allow scroll in div 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =