Solved

Two Programs / One Modem

Posted on 2003-11-10
6
171 Views
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.
0
Comment
Question by:schworak
  • 4
  • 2
6 Comments
 
LVL 2

Expert Comment

by:MaxPol
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:

http://www.devx.com/premier/mgznarch/vbpj/1997/06jun97/rs0697.pdf

Hope this helps,

Max
0
 
LVL 3

Author Comment

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

Accepted Solution

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

Let me know.

Max,

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.

 
LVL 3

Author Comment

by:schworak
ID: 9723093
That would be great.

glenn@schworak.com
0
 
LVL 3

Author Comment

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

Author Comment

by:schworak
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.
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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

937 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