主题:asp.net用shell调用notepad.exe的问题
我用vb.net编写了一个网页,需用shell调用notepad.exe,程序如下:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim pid As Integer
pid = Shell("notepad.exe d:\e.txt ", AppWinStyle.NormalFocus, True, -1)
End Sub
不知为何不行,请高手指教,万分感谢。
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim pid As Integer
pid = Shell("notepad.exe d:\e.txt ", AppWinStyle.NormalFocus, True, -1)
End Sub
不知为何不行,请高手指教,万分感谢。