Visual Basic: MSComm Control
InputLen Property
Sets and returns the number of characters the Input property reads from the receive buffer.
Syntax
object.InputLen [ = value ]
The InputLen property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | An integer expression specifying the number of characters the Input property reads from the receive buffer. |
Remarks
The default value for the InputLen property is 0. Setting InputLen to 0 causes the MSComm control to read the entire contents of the receive buffer when Input is used.
If InputLen characters are not available in the receive buffer, the Input property returns a zero-length string (""). The user can optionally check the InBufferCount property to determine if the required number of characters are present before using Input.
This property is useful when reading data from a machine whose output is formatted in fixed-length blocks of data.
Data Type
Integer
출처
https://msdn.microsoft.com/en-us/library/aa259413(v=vs.60).aspx
'호구지책 > VB6' 카테고리의 다른 글
[VB6] Visual Basic 6.0 리소스 센터 (0) | 2017.12.14 |
---|---|
[VB6]비주얼베이직 런타임 오류코드 목록 (0) | 2017.12.14 |
[VB6] 공용컨트롤 : 속성들 (0) | 2017.12.13 |
[VB6] 공용컨트롤 개요 (0) | 2017.12.13 |
[VB6] 공용컨트롤 : InputMode (0) | 2017.12.13 |
[VB6] ByVal과 ByRef의 차이점 (0) | 2017.12.07 |
[VB6] C++과의 데이터 타입 대응표 - C++ 과 VB6의 호환성 문제 (0) | 2017.12.05 |
[VB6] 비주얼베이직 6.0에서 DLL 호출하기 (0) | 2017.11.29 |
댓글