G
Guest
Good Day Folks,
I want to run calc.exe from within an asp.net page. I'm using the following
code. When I run it I don't get any errors but nothing happens. What's
missing ?
<%@ Page Explicit="True" Language="VB" Debug="true"%>
<%@ Import Namespace="System.Diagnostics" %>
<html>
<head>
<title></title>
</head>
<body>
<%
dim p as Process = new Process()
p.StartInfo.WorkingDirectory = "C:\windows\system32"
p.StartInfo.FileName = "calc.exe"
p.Start()
%>
</body>
</html>
I want to run calc.exe from within an asp.net page. I'm using the following
code. When I run it I don't get any errors but nothing happens. What's
missing ?
<%@ Page Explicit="True" Language="VB" Debug="true"%>
<%@ Import Namespace="System.Diagnostics" %>
<html>
<head>
<title></title>
</head>
<body>
<%
dim p as Process = new Process()
p.StartInfo.WorkingDirectory = "C:\windows\system32"
p.StartInfo.FileName = "calc.exe"
p.Start()
%>
</body>
</html>