I no longer use MsComm and VB6, i use VBExpress or .Net. From there you can also use the LF interrupt events (comport.ReadLine) which is probably the way to go. Never ever failed for me 'till now. VB6 EOF event is one method... if you can make it work.
LF event... way easy to code on the PIC side... hserout [whatever, 10]
There's a lot of different way to have success with VB, i have some applications dealing with MBs and GBs of data transfer... problem-free since years now. Even in VB6.
I prefer the handshaking method... hardware or software.... and a preamble string never bite anyone yet.
Last edited by mister_e; - 24th March 2008 at 19:01.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks