Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 14th, 2004, 12:13 AM
Registered User
 
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Vijay_VB Send a message via Yahoo to Vijay_VB
Default How to Read and Receive data from a port

Hai
i am doing a new project in vb.
my problem is,
system is connected with a electronic balance which sends data
to the system through a port. i don't know how to receive data
from the port and also to read. i want to send data to the
electronic balance also.

can anybody help me?
thanks in advance. Hopping for the answer
vijay
salem.



 
Old August 14th, 2004, 05:01 AM
Authorized User
 
Join Date: Jun 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Probibly the best place to start is with the sample code in VB (C:\Program Files\Microsoft Visual Studio\MSDN98\98VS\1033\SAMPLES\VB98) and look at the Mscomm project. Using this sample, you can get to know the mscomm control a little better.

Another place is in Richard Grier's book "Serial Comunications 4" from www.hardandsoftware.com. It extensively covers this subject and has some samples included. I believe one of them is working with scales.






Similar Threads
Thread Thread Starter Forum Replies Last Post
to read eternet port data nmmeenaa General .NET 1 October 23rd, 2006 09:34 AM
how to send and receive xml data from webService Divesh4u Classic ASP XML 0 May 22nd, 2006 01:10 PM
How Can I Read or Write to Parallel Port? qdata Visual C++ 3 January 31st, 2005 07:47 AM
Read text file and out to serial port VB.net noomkmitl Pro VB.NET 2002/2003 0 December 27th, 2004 08:44 AM
not able to receive xml data unniml Classic ASP XML 0 January 30th, 2004 09:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.