Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I get a list of computer names on a LAN
Message
From
21/06/1999 17:42:06
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00232181
Message ID:
00232226
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform