Solved

How to make a program to log all the activity

Posted on 2003-11-08
8
166 Views
Last Modified: 2010-05-03
Hi what do I need to make a program to log all the users activity on the internet in VB6 or VB.NET? Like the ip of the computer and the name of the user time and date and all that information.. Thanks
0
Comment
Question by:juanfigs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
8 Comments
 
LVL 5

Expert Comment

by:dc197
ID: 9708532
Your question is too vague.

Do you want to log all the internet activity of the user on a workstation, or all the users that visit a website, or what???

I can give you code to get the IP of the local machine and the current username.
0
 

Author Comment

by:juanfigs
ID: 9708853
All the user internet activity on a workstation.
0
 
LVL 2

Expert Comment

by:gimmeadrink
ID: 9708925
The only fool-proof way to do it is to monitor all traffic sent on ports 80 and 443 (providing those are the ports for http and https respectively).

Here is a sample project:
http://www.aspsimply.com/vb/netspy.aspx

This one may also give you further ideas:
http://www.aspsimply.com/VB/NetMon.aspx

HTH

0
 

Author Comment

by:juanfigs
ID: 9708935
Thats sound good but I think I asked the way I wasn't supposed to and sorry about that. I want something Like that but is like to monitor or grab or the urls that the user go to have probe where are they going when they are supposed to be working.
0
 
LVL 2

Accepted Solution

by:
gimmeadrink earned 170 total points
ID: 9709113
This really sounds like a router problem rather than a VB problem. You could log traffic by setting up a proxy through which all traffic is sent first, then logged, then forwarded. Alternatively, you could set up a firewall, some of which log traffic.

If you really want a VB soln, then simply modify the above example to only log domains and/or IPs visited.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question