Solved

Two Programs / One Modem

Posted on 2003-11-10
6
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Studio search word table and return Cell index 8 78
using web browser with BING 40 137
Spell Check in VB6 13 138
VB script to continue despite error 2 57
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

730 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