Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get list of all Computers from network...

Status
Not open for further replies.

dejanj

Programmer
Apr 22, 2002
25
AU
Hi All,

Is there a way how i can get the list of all computers on the local companies network i.e. similar as to when you go to Network Neighborhood?

I need to store it in a cursor or array so i can manipulated in my forms.


Any respond appreciated.

Thanks

Dejan
 
There is a API call for this.. but I'm not at my computer right now, so can't tell you exactly :(.. look in MSDN
 
dejanj

Are you refering to the available drives on the network (as in Network Neighborhood) or all individual PC connected to the network? If its the first case, faq184-1821 might help you.

If it's the secand case, you may want to look at the "NetWkstaUserEnum" API call, that will give you what you need. This link might help:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top