Dim answer As New MsgBoxResult answer = MsgBox(("Are you sure you want to reboot workstation: " & targetpc & "?"), MsgBoxStyle.YesNo, "Confirm Action") If DialogResult = DialogResult.Yes Then Dim smsClient As Object = GetObject("winmgmts://10.555.1.10/root/ccm:SMS_Client") smsClient.RepairClient() Else Exit Sub End If
|“This webpage wants to run the following add-on: ActiveDir.Net from- Group policy required||5||25|
|Disable and re-enable a dynamic System.Timers.Timer||6||27|
|Help with creating multiple xml files from one xml file using VB.NET||6||25|
|Help with deleting records by comparing two files using VB.NET||8||39|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
11 Experts available now in Live!