320x100
UInteger를 Integer로 변환하려 CInt 또는 Convert.Int32 등을 사용하면 오버플로 발생함.
그래서 변환방법은 Bit로 변환하여 강제 변환하는거
Dim a() = System.BitConverter.GetBytes( unsigned integer )
Dim b As Integer = System.BitConverter.ToInt32(a, 0)
반응형
'프로그래밍 > VB.Net' 카테고리의 다른 글
[VB.Net] 삼항연산자 (0) | 2021.05.03 |
---|---|
[VB.Net] 비주얼 베이직 여러줄 주석 (0) | 2021.03.17 |
[VB.Net] TCP 통신 (0) | 2021.03.17 |
[VB.Net] UDP 통신 (0) | 2021.03.10 |
댓글