In ASP, you can invoke the program from VBScript and other means.
Instance:
Calling subroutines that use VBScript
How to invoke a subroutine written in VBScript from an ASP.
<%
Sub Vbproc (NUM1,NUM2)
Response.Write (NUM1*NUM2)
End Sub
%>
<body>
<p>
Can call a procedure as this:
</p>
<p>
Result: <%call vbproc (3,4)%>
</p>
<p>
Or, like this:
</p>
<p>
Result: <%vbproc 3,4%>
</p>
</body>
Calling subroutines that use JavaScript
How to invoke a subroutine written in JavaScript from an ASP.
<%@ language= "JavaScript"%>
<%
function Jsproc (num1,num2)
{
Response.Write (NUM1*NUM2)
}
%>
<body>
<p>
Result: <%jsproc (3,4)%>
</p>
</body>
Calling subroutines that use VBScript and JavaScript
How to invoke subroutines written in VBScript and JavaScript in an ASP file.
<%
Sub Vbproc (NUM1,NUM2)
Response.Write (NUM1*NUM2)
End Sub
%>
<script language= "javascript" runat= "Server" >
function Jsproc (num1,num2)
{
Response.Write (NUM1*NUM2)
}
</script>
<body>
<p>result: <%call vbproc (3,4)%></p>
<p>result: <%call jsproc (3,4)%></p>
</body>