반응형
Visual Basic: MSComm Control
Visual Studio 6.0
InputMode Property
Sets or returns the type of data retrieved by the Input property.
Syntax
object.InputMode [ = value ]
The InputMode property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | A value or constant that specifies the input mode, as described in Settings. |
Settings
The settings for value are:
Constant | Value | Description |
comInputModeText | 0 | (Default) Data is retrieved through the Input property as text. |
comInputModeBinary | 1 | Data is retrieved through the Input property as binary data. |
Remarks
The InputMode property determines how data will be retrieved through the Input property. The data will either be retrieved as string or as binary data in a byte array.
Use comInputModeText for data that uses the ANSI character set. Use comInputModeBinary for all other data such as data that has embedded control characters, Nulls, etc.
출처
https://msdn.microsoft.com/en-us/library/aa259414(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] 공용컨트롤 : InputLen (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 |
댓글