G
Guest
This is a re-post of an earlier problem which I have not been able to solve yet.
I'm running .NET 2003 on XP.
I am trying to launch a Windows program from a VB Web app.
The code I am using is;
Try
Dim psi As New System.Diagnostics.Process
psi.StartInfo.UseShellExecute = True
psi.StartInfo.WorkingDirectory = "c:\"
psi.StartInfo.FileName = "WinApp.exe"
psi.Start()
Catch
System.Diagnostics.Debug.WriteLine(Err.Number & ", " & Err.Description)
End Try
Exit Sub
The results are...
no Exception occurs
An audible chime sounds (sounds like Win * sound)
WinApp.exe appears in the Processes list of the Windows Task Manager
WinApp.exe fails to execute
I have tried the same code in .Net Windows VB and WinApp.exe executes.
There apparently is some difference in launching from a Web app that I haven't been able to figure out.
Any help would be deeply appreciated.
Thanks,
John F.
I'm running .NET 2003 on XP.
I am trying to launch a Windows program from a VB Web app.
The code I am using is;
Try
Dim psi As New System.Diagnostics.Process
psi.StartInfo.UseShellExecute = True
psi.StartInfo.WorkingDirectory = "c:\"
psi.StartInfo.FileName = "WinApp.exe"
psi.Start()
Catch
System.Diagnostics.Debug.WriteLine(Err.Number & ", " & Err.Description)
End Try
Exit Sub
The results are...
no Exception occurs
An audible chime sounds (sounds like Win * sound)
WinApp.exe appears in the Processes list of the Windows Task Manager
WinApp.exe fails to execute
I have tried the same code in .Net Windows VB and WinApp.exe executes.
There apparently is some difference in launching from a Web app that I haven't been able to figure out.
Any help would be deeply appreciated.
Thanks,
John F.