Solved

Two Programs / One Modem

Posted on 2003-11-10
6
174 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

773 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