May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.
Dim targetpc As String = TextBox1.Text Dim pstools As String = "C:\SWDEPOT\SD Remote Tool\PSTools" Dim path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) Dim PsExecPath = path + "\SD Remote Tools\PsExec.exe" 'Try Dim p As New Process() 'p.StartInfo.FileName = "C:\SWDEPOT\SD Remote Tool\PSTools\PsExec.exe" p.StartInfo.FileName = PsExecPath p.StartInfo.Arguments = "-s" & " " & "-i" & " " & "-d" & " " & "\\" & targetpc & " " & Chr(34) & "c:\windows\system32\taskmgr.exe" & Chr(34) p.Start() p.StartInfo.CreateNoWindow = True p.WaitForExit() 'Catch ex As Exception ' MsgBox("Remote Workstation Unavailable", , "Information") 'End Try
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|C# MDI - Use Button on Child Form to Open (or Show) a Different Child Form||3||45|
|vb.net datagrid point||4||35|
|EF5 How do I stop pre-compiled views?||8||57|
|Subtract dates in vb.net||6||35|
Join the community of 500,000 technology professionals and ask your questions.