Condividi tramite


Metodo IShellDispatch.FindComputer

Visualizza la finestra di dialogo Risultati ricerca: computer . La finestra di dialogo mostra il risultato della ricerca di un computer specificato.

Sintassi

IShellDispatch.FindComputer()

IShellDispatch.FindComputer()

Parametri

Questo metodo non presenta parametri.

Valore restituito

JScript

Questo metodo non restituisce valori.

VB

Questo metodo non restituisce valori.

Commenti

Questo metodo viene implementato e accessibile tramite il metodo Shell.FindComputer .

Esempio

Negli esempi seguenti viene illustrato l'uso di FindComputer in JScript, VBScript e Visual Basic.

Jscript:

<script language="JScript">
    function fnShellFindComputerJ()
    {
        var objShell = new ActiveXObject("shell.application");
        
        objshell.FindComputer();
    }
</script>

Vbscript:

 <script language="VBScript">
    function fnShellFindComputerVB()
        dim objShell
        dim ssfWINDOWS
        ssfWINDOWS = 36

        set objShell = CreateObject("shell.application")
        objshell.FindComputer

        set objShell = nothing
    end function
 </script>

Visual Basic:

Private Sub fnShellFindComputerVB()
    Dim objShell As Shell

    Set objShell = New Shell
    objshell.FindComputer

    Set objShell = Nothing
End Sub

Requisiti

Requisito Valore
Client minimo supportato
Windows 2000 Professional, Windows XP [solo app desktop]
Server minimo supportato
Windows 2000 Server [solo app desktop]
Intestazione
Shldisp.h
IDL
Shldisp.idl
DLL
Shell32.dll (versione 4.71 o successiva)