web 2.0

How to use ASP & Execute/Run .exe Server.CreateObject(”ASPExec.Execute”)

How to use ASP & Execute/Run .exe Server.CreateObject(”ASPExec.Execute”) This is learn/tutorial asp developers how to using ASP script Run execute EXE by ASPExec.Execute

ShotDev Focus:
- ASP & Run execute EXE by ASPExec.Execute

Step 1 Copy aspexec.dll to C:\Windows\System32

ASP & Execute/Run .exe Server.CreateObject(”ASPExec.Execute”)

Step 2 Register  DLL regsvr32 C:\Windows\System32\aspexec.dll

ASP & Execute/Run .exe Server.CreateObject(”ASPExec.Execute”)

ASP & Execute/Run .exe Server.CreateObject(”ASPExec.Execute”)

Example

asp_exe_aspexec.asp


<% Option Explicit %>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Dim objExe
Dim sResult
Set objExe = Server.CreateObject("ASPExec.Execute")
objExe.Application = "C:\MyApp\LoadAutoRun.exe"
objExe.Parameters = ""  '*** Parameter ***'
objExe.ShowWindow = False
sResult = objExe.ExecuteWinApp
Response.Write "Result: " & sResult & "<p>"
%>
</body>
</html>

Create a asp file and save to path root-path/myasp/

Run
http://localhost/myasp/asp_exe_aspexec.asp

Screenshot

ASP & Execute/Run .exe Server.CreateObject(”ASPExec.Execute”)
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

One Response to “How to use ASP & Execute/Run .exe Server.CreateObject(”ASPExec.Execute”)”

  1. 3absorbs…

Leave a Reply

You must be logged in to post a comment.