I currently have a form, with 1 textbox, and 1 button.
The button calls
Where textbox1 would be the username of a user, or the computername.HTML Code:Dim objProcess As New System.Diagnostics.Process objProcess.StartInfo.FileName = "\\hqcm01\AppDeploy\Johnson Outdoors Suite\Additional Tools\PSTools\PSloggedon.exe" objProcess.StartInfo.Arguments = TextBox1.Text objProcess.Start()
This works fine, and opens and runs as expected... however....
for the life of me, I cannot figure out why it closes automatically when it's done searching. Is there anyway to stop this?
Thanks,
Tony




Reply With Quote