Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
Public Function GET_PW_CS(ByVal stIN As String) As String 'INPUTS: stIN = the argument (passkey) for the string desired 'OUTPUTS: The string from the console program 'Set up the Process Dim pInfo As New ProcessStartInfo() pInfo.FileName = "C:\MyConsoleProgram.exe" pInfo.Arguments = stIN pInfo.RedirectStandardOutput = True pInfo.UseShellExecute = False pInfo.CreateNoWindow = True 'Calls the program and gets the output Dim p As Process = Process.Start(pInfo) GET_PW_CS = p.StandardOutput.ReadLine() p.WaitForExit() pInfo = Nothing p.Dispose() End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.