How to solve System.Timeout.Exception on a PBX SMDR Capture app?
The port connection is successful but when it gets to receive data I get this timeout exception. Got no idea what to do...what to fix. Need help.
System.TimeoutException: The operation has timed out.
at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count, Int32 timeout)
at System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count)
at System.IO.Ports.SerialPort.InternalRead(Char[] buffer, Int32 offset, Int32 count, Int32 timeout, Boolean countMultiByteCharsAsOne)
at System.IO.Ports.SerialPort.ReadTo(String value)
at System.IO.Ports.SerialPort.ReadLine()
at SMDR_Capture.SerialPortDataReceive.ReadFromCom() in e:\punn\my documents\visual studio 2010\Projects\SMDR Capture\SMDR Capture\SMDR Capture.vb:line 165
Below you have the Visual Basic.NET 2010 project solution in .doc (word 2003) file.
Don't know how to put code here in tags thus I had to manage with an attachment if you happen not see any attachment I'll manage another way of uploading a link and post in comment.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.