B
BenRu
CE5.0
..Net CompactFramework 2.0 sp1
Try
Dim com10 As New SerialPort("COM10", 115200, Parity.None,
8, StopBits.One)
com10.Open()
com10.WriteLine("1234567890")
com10.Close()
Catch ex As Exception
System.Console.WriteLine(ex.Message)
End Try
I tried "$device\COM10" and "COM10:" ... still failed.
How can I open it?
Got messages below,
An error message cannot be displayed because an optional resource
assembly conta
ining it cannot be found.
..Net CompactFramework 2.0 sp1
Try
Dim com10 As New SerialPort("COM10", 115200, Parity.None,
8, StopBits.One)
com10.Open()
com10.WriteLine("1234567890")
com10.Close()
Catch ex As Exception
System.Console.WriteLine(ex.Message)
End Try
I tried "$device\COM10" and "COM10:" ... still failed.
How can I open it?
Got messages below,
An error message cannot be displayed because an optional resource
assembly conta
ining it cannot be found.