The basic idea is that (unless you control the hardware directly) you cannot obtain 9 bits easily in VB. However, the parity bit is sent as a ninth bit, and you can control whether that bit is high or low by understanding whether the byte you are about to send is even or odd parity, and setting the parity of the port appropiately just before you send the byte out. I hope this helps! -Adam Brusque wrote: > Hello, > > how can I send/receive serial data in Visual Basic using 9 bits? > > I'm developing some equipment that comunicates with each other > using 9 > bits (the 9th bit indicates the start of a packet when set). Now I'm > needing to make a PC application in Visual Basic to comunicate with this > gear, but the MSComm control only works with 6/7/8 bit width. > > Thanks, > > Brusque > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu