Hi,
I got confused between VB.NET and ASP.NET. Correct me, if I'm wrong OK?
VB.NET is for Windows Application where the form are with .vb extension and ASP.NET is for Web Application and the forms are with .aspx extension right?
Currently, I'm developing Web Application and am stuck with the Shell function. When I search under msdn help, I followed the sample and below is my codes. Nothing took place with my batch file when I execute with a command button. Tested it outside the web application and it works fine.
Pls help.
Thanks!
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Shell("C:\Inetpub\wwwroot\WebApplTest1\load.bat", AppWinStyle.MaximizedFocus, True, -1)
End Sub
I got confused between VB.NET and ASP.NET. Correct me, if I'm wrong OK?
VB.NET is for Windows Application where the form are with .vb extension and ASP.NET is for Web Application and the forms are with .aspx extension right?
Currently, I'm developing Web Application and am stuck with the Shell function. When I search under msdn help, I followed the sample and below is my codes. Nothing took place with my batch file when I execute with a command button. Tested it outside the web application and it works fine.
Pls help.
Thanks!
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Shell("C:\Inetpub\wwwroot\WebApplTest1\load.bat", AppWinStyle.MaximizedFocus, True, -1)
End Sub