BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NetBios computers' names?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
MuZZy
Guest





PostPosted: Sat Mar 06, 2004 1:38 am    Post subject: NetBios computers' names? Reply with quote



Hello,

Could someone help me how do i obtain list of names for computers which are
currently in my LAN?
Also i guess i can only get names of those which share the same workgroup?

Thank you,
Andrey


Back to top
Yorai Aminov (TeamB)
Guest





PostPosted: Sat Mar 06, 2004 8:16 am    Post subject: Re: NetBios computers' names? Reply with quote



On 06/03/2004 03:38:07, MuZZy wrote:

Quote:
Could someone help me how do i obtain list of names for computers
which are currently in my LAN?

Use the WNetEnumResources function.

I have a simple component that does this for you at
http://www.shorterpath.com/develop/spfree.

--
Yorai Aminov (TeamB)
(TeamB cannot answer questions received via email.)
Shorter Path - http://www.shorterpath.com
Yorai's Page - http://www.yoraispage.com

Back to top
Ben Hochstrasser
Guest





PostPosted: Sat Mar 06, 2004 9:53 am    Post subject: Re: NetBios computers' names? Reply with quote



Yorai Aminov (TeamB) wrote:

Quote:
Use the WNetEnumResources function.

I have a simple component that does this for you at
http://www.shorterpath.com/develop/spfree.

<plug>
If you're frequently doing LAN-Manager related stuff, check out Colin
Wilson's lanman package:

http://www.wilsonc.demon.co.uk/delphi3.htm
http://www.wilsonc.demon.co.uk/Delphi3Components/lanman/lanman.zip

Yes, it works under newer Delphi versions too. Smile
</plug>

--
Ben

Back to top
MuZZy
Guest





PostPosted: Sat Mar 06, 2004 4:21 pm    Post subject: Thank you Guys - Re: NetBios computers' names? Reply with quote

Thank you both!

"MuZZy" <leyandrew (AT) yahoo (DOT) com> wrote

Quote:
Hello,

Could someone help me how do i obtain list of names for computers which
are
currently in my LAN?
Also i guess i can only get names of those which share the same workgroup?

Thank you,
Andrey





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.