Shop OBEX P1 Docs P2 Docs Learn Events
Data Exchange with VB.NET — Parallax Forums

Data Exchange with VB.NET

ctrlBuffctrlBuff Posts: 3
edited 2010-02-14 00:04 in BASIC Stamp
I found an·article in Nuts & Volts, Sept, 2002 by Jon Williams.
·
http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol3/col/nv89.pdf

The article explains how to interface a BS2 with a PC to exchange data. The visual basic code was written for VB6. I would like to write the vb code for VB.NET Express 2008.
The section of VB6 code I am most having trouble with is:
Private Sub FlushTxBuf() 
   Do 
      DoEvents 
   Loop Until (MSComm1.OutBufferCount = 0) 
End Sub

I don't know what "DoEvents" is or how to make VB.NET immitate the Sub. Can anyone help me with this?

Comments

Sign In or Register to comment.