MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
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.
|Vb.net threads keep increasing||2||56|
|C# Service FileSystemwatcher isse||9||59|
|QBCFMonitorService.exe randomly stops on Windows Server 2016 Essentials.||7||64|
|Building Collections of Objects based on their Tag Property||33||48|
Join the community of 500,000 technology professionals and ask your questions.