Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I get a list of computer names on a LAN
Message
De
21/06/1999 17:42:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00232181
Message ID:
00232226
Vues:
15
Wayne,

Thanks for the info... I did give anetresources a try but I can't seem to get it to work. Here is the test code I used:

*!* compname.prg
DECLARE laNames [4,4]
lnReturnCode=ANETRESOURCES(laNames,"\\workgroup",1)
? lnReturnCode
? laNames[1,1]


It keeps setting lnReturnCode to 0 (no network resources found). The only thing I can think is that the second parameter ("\\workgroup") is incorrect. I used the workgroup name specified in network properties under the identification tab (WIN95) . Have you used anetresources successfully? TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform