Solved

Monitoring another programs output with VB program

Posted on 2004-10-08
7
210 Views
Last Modified: 2013-11-13
Is it possible to monitor a programs output from a vb program? I want to create an anti-cheat system for certain games.
0
Comment
Question by:rentonc
[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
7 Comments
 
LVL 10

Expert Comment

by:fds_fatboy
ID: 12258678
If you can pipe or redirect the output to a file it is. Simply read the file from within VB.
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12258695
>>Is it possible to monitor a programs output from a vb program

where the output goes to? TCP/TP, file ?
0
 
LVL 4

Author Comment

by:rentonc
ID: 12260447
It's the tcp output of the game. So i will have to read the output from that. It doesn't use a file. I want to monitor tcpip traffic and interchanges for the online multiplayer game in realtime.
0
 
LVL 4

Accepted Solution

by:
AjithJose earned 500 total points
ID: 12272393
You can implement a proxy service in vb to monitor tcp/ip traffic between game and its server. You need to get information regarding the ports used by the game/server. Then create a winsock server program which listens locally on server port and then relay the data through your monitoring routine to the server.

Sample vb code is available at the url:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=55820&lngWId=1

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=11679&lngWId=1

You can easily adapt these code just by changing port numbers
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best way to parse out a json string in VB6? 10 290
Modifying Conditional Format from VBA code 3 71
Advice in Xamarin 21 109
VB6 common control 6 sp6 object library not registerd 3 47
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

733 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