I have a working web service. When data is received I would like to run an external program against this data. I have setup impersonation to use a known-working username and password, but the program does not run.
Thanks for any ideas.
If impersonateValidUser("myuser", "WEST", "mypassword") Then
Dim proc As New Process
proc.StartInfo.Password = New System.Security.SecureString()
For Each c As Char In "mypassword"
proc.StartInfo.UseShellExecute = False
proc.StartInfo.Arguments = arg1 & " " & arg2
proc.StartInfo.FileName = "C:\Program Files\DoMerge\DoMerge.exe"