Two Programs / One Modem

Posted on 2003-11-10
Last Modified: 2010-05-01
I have the need for a program to monitor a modem that is controlled by another program. How can I do this?

Long long ago I was able to do this on an Amiga but I don't know how (or if it can even be done) on a PC using VB6.

I basically want to open the modem in a listen only mode and then let another program open the same modem at the same time for full control.
Question by:schworak
  • 4
  • 2

Expert Comment

ID: 9716632
I think a possible solution would be to create a small software layer that respond to a virtual COM port you create.
Then from this COM port you open the actual Port.

The application should always ask to your virtual COM in order to access the real one.

It is a kind of COM Proxy.

I wrote something like this almost 10 yeas ago.

If I manage to remember or find something I'll let you know.

Try to look here:

Hope this helps,


Author Comment

ID: 9719786
Hmmm, that link doesn't work. I will try to find some info on virtual COM port.

Accepted Solution

MaxPol earned 250 total points
ID: 9721088
If you want I can send you the doc.

Let me know.


Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.


Author Comment

ID: 9723093
That would be great.

Author Comment

ID: 9752798
The ACOMPORT active X control gives control over the port but doesn't help in this situation.

Author Comment

ID: 9754441
The information you provided was good. It didn't address my situation but I am thinking that it may not be possible to do what I am after. Basically, I want to intercept all the data coming from the modem but not interact with the modem in any way. I have a commercial program that sits on the modem and controls it but I wanted to listen in to see the incoming traffic and record some events.

It just doesn't look like it is possible but thanks for the help anyway.

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

744 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

10 Experts available now in Live!

Get 1:1 Help Now