I posted a complete app with source some time ago right here: http://www.rof.net/yp/alphaone/activities/electronics/comm/index.html JB > > > Does anyone have Visual Basic code for reading characters from a PC > serial > > > port. I'm trying to receive data from a PIC. I can see it fine on a > simple > > > communications modem program (Quick Link II is what I've been using) >but > > > when I try to read it with visual basic, I get the first few values >and > > then > > > it stops and I get a "run-time error '5'" message on the line which > reads > > > the input buffer. I'm using 9600 baud with about 100msec between > > characters. > > > I've attached the files if anyone cares to look at them. Thanks in > advance > > > for any help. > > > > > > Dan & Tina Mulally > > > dtcon@rapidnet.com > > > http://rapidnet.com/~dt2000 > > > > > > > -- > > http://www.piclist.com hint: The list server can filter out subtopics > > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]: PIC only [EE]: engineering [OT]: off topic [AD]: advertisements > >-- >http://www.piclist.com hint: PICList Posts must start with ONE topic: >[PIC]: PIC only [EE]: engineering [OT]: off topic [AD]: advertisements > >-- >http://www.piclist.com hint: The list server can filter out subtopics >(like ads or off topics) for you. See http://www.piclist.com/#topics > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics