"Shell"
Dim startInfo As New ProcessStartInfo() startInfo.UseShellExecute = False startInfo.FileName = "POS.exe" startInfo.UserName = "ADMIN" Dim testString As New SecureString() For Each ch As Char In "pass1234" testString.AppendChar(ch) Next startInfo.Password = testString Dim exe As Process = Process.Start(startInfo)
"Unkown UserName or bad password"
UserName
Password
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)