OpenNetCF.IO.Serial.Port.CommEvent Help

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I am trying to implement serial communications using the
Serial.dll class library developed by the good people at
OpenNetCF.org. I am programming in VB and am having
trouble working with Port.CommEvent. I am using the
following code...

'Specify port
Dim port as New Port("COM1:)

'Set default port settings
Dim portsettings = New Handshakenone

'Open Port
port.Open

This is where I stall. Since I am used to the old MSComm
control I cant seem to grasp the concept that there is
no "OnComm" event. How and where do I utilize
the 'Port.CommEvent' to call a procedure to get the
port.input values? Any code suggestions would be greatly
appreciated.

Thx!
 
Back
Top