Thanks for the link Rhino.

Nick. You might also want to take a look at Jan Axelsons serial links page here http://www.lvr.com/serport.htm

If you're looking for a good book on the subject, Jan's book Serial Port Complete is 2nd to none.

You can download the VB source code from her book here http://www.lvr.com/files/spc.zip

The .zip file contains a few template VB applications ready to run. The devlink app has the ability to log incoming data to file, and is very easy to modify.