[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now



Posted on 1998-07-12
Medium Priority
Last Modified: 2008-02-01
How do I connect 2 computers together using mscomm? I want to be able to call a computer from the phone and be able to pick it up with the other computer. I can do all of this so far but I am unable to send data from one computer to another. I would rather use mscomm but anything else will also do. I am using VB 3.0 16bit version.
Question by:Hanky367

Expert Comment

ID: 1465533
Well first you have to establish what sort of communication protocol you are going to use.
Second, you have to write a program that send and receive data from/to Fax Modem. You can do that by using MSCOMM and with the help of your Fax Modem Manual.
With a Modem, you can either send/receive a binary or an ascii data, depends on what you are after.
What I suggest is to take this guidlines and start working on the program.
Try to divide the question into sub-questions.
Hope this will get you started.

Expert Comment

ID: 1465534
Another thing, try to use Hyper Terminal (under win95), or Terminal.exe (under win3.xx).
These program are very handy to establish communication between computers.
Note that Terminal.exe still exists under win95, you may find it under the directory "C:\WINDOWS".
Have fun

Expert Comment

ID: 1465535
I have a sample project that will send commands to the modem (you enter the command in a text box) and receives the answer.
You can use the same project to send commands (or text strings) from one computer to another.
I wrote the project in VB5 but I can convert it to VB3 16-bit.
If you think that it will help you, just leave me a comment with your e-mail address.

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Accepted Solution

minah earned 600 total points
ID: 1465536
You can add the following code to send:-
 mscomm1.output = datatosend
 mscomm1.output = 0x0a (Line Feed)

on the receiving end:-
 datareceivd = mscomm1.input

Author Comment

ID: 1465537
Actually, I have allready figured out this question. my problem is that i did not make RTSEnabled property to True. But Thanks for your help anyway! I will still give you the point.

Author Comment

ID: 1465538
Actually, I have allready figured out this question. my problem is that i did not make RTSEnabled property to True. But Thanks for your help anyway!

Featured Post

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!

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…
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…
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…
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…
Suggested Courses
Course of the Month19 days, 8 hours left to enroll

873 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