Solved

Reading the modem log

Posted on 2001-08-18
6
225 Views
Last Modified: 2013-12-03
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
0
Comment
Question by:kplonk
6 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6402156
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
 

Author Comment

by:kplonk
ID: 6402180
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
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 6403636
You must hook WriteFile Api of modem driver.
This is only way, that I know.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:kplonk
ID: 6403898
i see could you explain it to me a bit more, thanks
0
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 50 total points
ID: 6405119
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
 

Expert Comment

by:amp072397
ID: 6773047
kplonk:

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

thanks!
amp
community support moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL 2008, management studio, intellisense doesn't work 3 96
TFS Branching 4 77
Visual Studio 2015 vs. Visual Studio 2010 9 64
VBA Error Since Excel 2016 x64 5 93
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now