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>

[780 byte] By [c28560] at [2007-12-24]
# 1

These questions are referred to www.asp.net.

ReneeC at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Language...