Write about your journey to work, or read others at:
Journey to Work logo

VBSide sourcecode archive

Search :  

Home Top 5   Contact Us
Categories
» Windows Operations
» Forms
» Graphics
» String Manipulation
» Database
» API Calls
» Games
» Registry
 
Top 5
»  Most Viewed
»  Most Downloaded
»  Recent Submissions
 
Counter
pages viewed today
 
Send string to serial
Submitted on: 11, November 2004
Author: Richard Leitao
Level Beginner
Language: VB6
Accessed: 1676 times

This example uses the MSComm object to send data to the serial port. You can set which port as well as modify the baud rate, parity, etc. After you've typed the text you can choose whether to send a Carriage Return and/or a Line Feed after it. There should be sufficient comments in there to make it of beginner standard

 
Terms of Agreement:
By using this code, you agree to the following terms...
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.