Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MSComm Sending Problem

Posted on 1999-10-06
4
Medium Priority
?
199 Views
Last Modified: 2010-05-02
We're using the MSComm control to connect to a telecom switch.  For testing purposes, we attempted to simulate the responses by connecting to another PC running HyperTerminal.  The other end connects (the control properly sent the ATDT strings to the modem) but subsequent strings sent (through MSComm.Output) does not produce any result.

Any ideas?  Help is greatly appreciated.

0
Comment
Question by:ealva
[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
  • 2
  • 2
4 Comments
 
LVL 14

Expert Comment

by:mcrider
ID: 2102761
Are you sending a VbCrLf at the end of the transmission?

I would also get ahold of the old windows 3.1 Terminal Program.  It really does a better job in this kind of testing.


Cheers!
0
 

Author Comment

by:ealva
ID: 2105928
We did that. :-)  Nothing comes out.  We're pretty sure that there is no problem with the other end (HyperTerminal).  On the app side, the ATDT string comes out of the serial port.  The problem is during subsequent outputs.
0
 
LVL 14

Accepted Solution

by:
mcrider earned 300 total points
ID: 2106614
put a "DoEvents" in your code after you write to the serial port...

Also, check your connection by connecting HyperTerminal on both systems... If they can talk, it's your program and most likely the doevents will solve it.
0
 

Author Comment

by:ealva
ID: 2245223
Thanks. Actually, we found out that the modem is the problem. Sorry for the delayed response.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
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 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…
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…
Suggested Courses

721 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