Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem using Anetresources()
Message
De
21/06/1999 17:48:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem using Anetresources()
Divers
Thread ID:
00232233
Message ID:
00232233
Vues:
34
I'm having a problem using anetresources()

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) and the array is empty. 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) . Has ANYONE used anetresources() successfully? There doesn't seem to be any sample code in the docs.
TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform