Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Reading the modem log

Posted on 2001-08-18
6
Medium Priority
?
244 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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 

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 150 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and 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…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

824 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