vb.net equivalent ?
Good Day Folks,
I want to start notepad from a browser window, and have succeeded with the code below. But I'd like to remove the aspcompat="true" directive. Is there a way to make this code fully .net ?
Thanks in advance.
/Serge
<%@ Page Language="vb" Debug="true" aspcompat="true" %>
<html>
<!-- Created on 9/19/2006 4:12:36 PM-->
<head>
<title></title>
</head>
<body>
<%
dim WshShell = Server.CreateObject("WScript.Shell")
WshShell.Run("%windir%\notepad.exe")
WshShell.AppActivate("Notepad")
%>
</body>
</html>

