Search results for query: *

  1. A

    VB.NET collection define problem

    Hi jmcilhinney, Thanks for the reply. I've successfully done this by System.Management namespace. Following are the codes. Function whoison(ByVal strComputer As String) Dim logUser As String Dim theManagementScope As New ManagementScope("\\" & strComputer & "\root\cimv2") Dim theQueryString...
  2. A

    VB.NET collection define problem

    I am converting my WMI scripts from vbscript to VB.NET. This one is use to get current login username from a remote computer:cool: : Dim objWMIService, objComputer As Object Dim colComputer As Collection Dim logUsername As String objWMIService = GetObject("winmgmts:" _ &...
Back
Top