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

x
?
Solved

how to create a simple message ?

Posted on 1999-06-29
4
Medium Priority
?
255 Views
Last Modified: 2013-11-13
like this , i want to create 1 command botton and inside there is when the time the user press that botton, it will send a short message to the other terminal. let say from "A" pc to "B" pc. and for this the both pc will having a same program(the program that i create and i just want to include in facilities inside it).

i will create a 2 botton. 1 is for user to send message and the other is to read the message (this one is for internal).

please give me the code for it and step by step because i just new on vb 5.
0
Comment
Question by:JOHNHO
[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 2

Accepted Solution

by:
mannen earned 100 total points
ID: 1520661
You can use the Microsoft Winsock Control, which I think comes with VB5.

First, you use the "Winsock.Listen <port>" method on the Server (the one that will send the string).

Then use the "Winsock.Connect" method to connect to the server with a client.

To send some data, use the SendData method with winsock.

If you need code, I can send you some. Just give me your email address.

- Vidar Braut Haarr
  AmigoSoft Productions
  folk@popmail.com
0
 

Author Comment

by:JOHNHO
ID: 1520662
thanks, but you discribed itt in general way.
u got to tell me what did i got to put in the form , such as how many command control i need to put, whats control that i got to put and .............

so this is my email address .

please answer it step by step.

thanks a lot
0
 

Author Comment

by:JOHNHO
ID: 1520663
mydear98@yahoo.com
0
 
LVL 2

Expert Comment

by:mannen
ID: 1520664
Well, I haven't got time to do that.

If you want, you can go this site for VERY much sample code.
www.vb-helper.com

Your problem is the one problem that has been made most samples of in the world (I think). If you need more information, just post a comment here, or mail me.

He has links to ALL the greatest VB sites in history, and also a great VB search-engine.

And.... if you find something, I would appreciate the 50 points. :)Thanks

- Vidar Braut Haarr
  AmigoSoft Productions
  folk@popmail.com
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

664 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