Reading the modem log

What i am tryiong to do i write a program that will display the infomation that my modem send to the modem log file onto the screen in real time, i want to use vb for this, can the winsocks controle be used, if so how
kplonkAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
AlexVirochovskyConnect With a Mentor Commented:
I am not good specialist in Hooks, but as I know, you
must write your Dll (that makes Hook) and use SetWindows HookEx API to install chain with this Hook.
In Windows Doc you 'll find more about this.
As working example I recomend you FileMon utility
from  http://www.sysinternals.com/ntw2k/source/filemon.shtml
(with source  code)
....
Filemon monitors and displays file system activity on a system in real-time
...
Filemon makes all, that you need, but makes many other
things , too...
0
 
jhanceCommented:
I don't see how the WINSOCK control would enter into this picture.  Just open the file and read the data.  Then display it on your screen.
0
 
kplonkAuthor Commented:
could do but not in real time, as a line of data is writen to the file i want to intercept this and echo it to the screen, sorry was not clear
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
AlexVirochovskyCommented:
You must hook WriteFile Api of modem driver.
This is only way, that I know.
0
 
kplonkAuthor Commented:
i see could you explain it to me a bit more, thanks
0
 
amp072397Commented:
kplonk:

I'm sure you've overlooked this question. Can you provide some feedback here?

thanks!
amp
community support moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.