Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...keep up the good work with this forum, I think this is the best one around. ...you actually try to help people learn for themselves. ...I commend you on providing a very good, open learning atmosphere, where usually egos are left behind..."

Geography

Where in the world do Tek-Tips members come from?
BogdanMBM (Programmer)
26 Jan 04 3:53
Hi!
My computer has Windows 98 and it is member of a Workgroup (NOT a domain, there is no server for the network). OK. So I have a folder shared on my computer. I would like to write a program that can tel me what other computers on the network are currently logged on to my shared folder, at a certain moment.
Can anybody give me any idea on how to do this? Is this possible using some API calls?

I'm thinking of using this function but I don't know how:...
Private Declare Function NetConnectionEnum Lib "netapi32.dll" _
  (ByVal servername As Long, _
   ByVal qualifier As Long, _
   ByVal level As Long, _
   bufptr As Long, _
   ByVal prefmaxlen As Long, _
   entriesread As Long, _
   totalentries As Long, _
   resume_handle As Long) As Long

The problen is that i don't know how to use it. It has something to do with pointers and stuff that I'm not soo familiar with. One more thing: this function is intended to be used mainly under Win2000/NT. It is supported by Win98, but with some changes regarding the declaration and the asociated "Connection_Info_1" type...
  In MSDN, the examples regarding the use of this function are for C++. Nothing for VB6 programmers... This is realy frustrating !!!


Anyone who can help me with this ?!? Please! Thanks!

Hope I've been helpful,
Bogdan Muresan.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close