Read and Write to Serial Ports? 
Author Message
 Read and Write to Serial Ports?

I need to write an application that communicates with a cloth yardage
counter over a RS232 interface.  Will I have to buy a third party
communication library for this?  I currently have Access 2.0 but will
upgrade if it will help.


Mon, 19 Feb 2001 03:00:00 GMT  
 Read and Write to Serial Ports?
Jeff:

Probably the easiest way to do this is to use the MSComm control.  It comes
with Visual Basic 4, 5,& 6.  With it you can write to or read the comm port
easily and the control works well with A95 or 97.   There are other controls
out there too.   If you want to do it all with code, then find a copy of
Roger Jennings book Access 2 Developer's Guide.  All the code you need for
comm control is in there.  You might have to hunt for the book at your local
store I'm not sure its still in print, but try Amazon etc. too.

HTH

Steve Arbaugh
ATTAC Consulting Group
web: http://ourworld.compuserve.com/homepages/attac-cg/acgsoft.htm
To reply, remove ~ and nospm from address

Quote:

>I need to write an application that communicates with a cloth yardage
>counter over a RS232 interface.  Will I have to buy a third party
>communication library for this?  I currently have Access 2.0 but will
>upgrade if it will help.



Tue, 20 Feb 2001 03:00:00 GMT  
 Read and Write to Serial Ports?
Hi,

I am not sure about the 16 bits version, but you may try MSCOMM.OCX (coming
with VB), just be carefull with the version in order to support 16 bits.
Interesting, those activeX control allow you to program "on event", rather
that polling the port continuously.

Another alternative, is to run an old DOS program and you communicate to it
through files (?) if this is possible (and acceptable for the use you make
of it).

Hope it may help,
Vanderghast, Access MVP.

Quote:

>I need to write an application that communicates with a cloth yardage
>counter over a RS232 interface.  Will I have to buy a third party
>communication library for this?  I currently have Access 2.0 but will
>upgrade if it will help.



Tue, 20 Feb 2001 03:00:00 GMT  
 Read and Write to Serial Ports?
You may also want to check out this site as well.  I am currently trying to
control a machine in the same fashion.

www.marshallsoft.com

******

Quote:


>>I need to write an application that communicates with a cloth yardage
>>counter over a RS232 interface.  Will I have to buy a third party
>>communication library for this?  I currently have Access 2.0 but will
>>upgrade if it will help.



Sat, 24 Feb 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. WTT: Serial port read/write software

2. read/write data to the serial port

3. Reading /Writing on Serial Port

4. Reading /Writing on Serial Port

5. How to loop comm port control to read text files through serial port in VB3

6. Writing out to a serial port from Access VBA

7. How to write on a serial port ???????

8. Writing out to serial port from Access VBA

9. Writing to serial port

10. writing to serial port with VB3

11. RI Serial Port Line and Writing Strings to Files

12. RI Serial Port Line and Writing Strings to Files

 

 
Powered by phpBB® Forum Software