Solved

MSComm.vbx

Posted on 1998-07-12
6
663 Views
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.
0
Comment
Question by:Hanky367
[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
6 Comments
 
LVL 1

Expert Comment

by:khaledc
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.
0
 
LVL 1

Expert Comment

by:khaledc
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
0
 
LVL 7

Expert Comment

by:kamall
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.

Regards.
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 

Accepted Solution

by:
minah earned 200 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
0
 

Author Comment

by:Hanky367
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.
0
 

Author Comment

by:Hanky367
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!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 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…

718 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