CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2007

    find the code counts the number of visitors?

    I created a file. exe from VB6.0, copy this file onto the No. 1 and share this folder, use the other machines on the LAN running. exe file, at unit 1 can calculate how many machines running exe file. this? content standards in VB6.0 count how many machines run this file?

  2. #2
    Join Date
    Jul 2006

    Re: find the code counts the number of visitors?

    This does not seem to be a standard function.
    To see if a machine runs a specific program you need to scan the processes on that computer, but you don't have access to this over the network.
    What you could do is, you integrate a winsock control and write a very simple login routine to a kind of server which can run on one of the network computers. This server will then always reflect the number of running program instances and can report on which computer they run.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.