Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Two Programs / One Modem

Posted on 2003-11-10
6
Medium Priority
?
192 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 750 total points
ID: 9721088
If you want I can send you the doc.

Let me know.

Max,

0
Technology Partners: 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Suggested Courses

636 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