Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying network host/remote information on the status
Message
De
19/07/1998 22:06:33
 
 
À
19/07/1998 16:41:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00119117
Message ID:
00119145
Vues:
19
>I am developing an application for Search & Rescue (SAR) which enables multiple PC's to be networked together at a SAR operations site. Most of the users are unfamiliar with networking and each SAR mission is temporary (a few hours to a few days) at wherever the operations site happens to be.
>
>I would like to be able to display on the VFP status bar whether the computer they are using is the host computer or a 'remote' hooked into the network, mainly to avoid the host being inadvertently shut down by the inexperienced users. Does anyone know of a command which displays whether the PC is the network host or the remote?
>

If by host you mean that the machine is providing common disk services to other machines, the UNC of the shared drive will either not resolve at all from the drive letter, or will resolve to \\ via the Win32API WNetGetConnection()

>Best wishes,
>
>Martin Colwell
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform