|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Active Computers in Network
how to get a list of all the active computers in the network in VB using WMI or by any other means???
|
|
#2
|
|||
|
|||
|
Here's how to do it in vbscript:
Dim oDomain Dim oComp Set oDomain = GetObject("WinNT://<mydomain>") oDomain.Filter = Array("computer") For Each oComp In oDomain 'output the name to the browser. Response.Write(oComp.name & "<br>") Next Set oDomain = Nothing |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Active Computers in Network |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|