01.
<html>
02.
<head>
03.
<title>ThaiCreate.Com ASP & ASPExec.Execute</title>
04.
</head>
05.
<body>
06.
<%
07.
Dim
objExe
08.
Dim
sResult
09.
Set
objExe = Server.CreateObject(
"ASPExec.Execute"
)
10.
objExe.Application =
"C:\MyApp\LoadAutoRun.exe"
11.
objExe.Parameters =
""
12.
objExe.ShowWindow =
False
13.
sResult = objExe.ExecuteWinApp
14.
Response.Write
"Result: "
& sResult &
"<p>"
15.
%>
16.
</body>
17.
</html>