728x90
반응형
728x170
Dim nFileHandle As Integer
Dim strFilePath As String
Dim pByte As Byte
nFileHandle = FreeFile
strFilePath = "c:\a.txt"
Open strFilePath For Binary As nFileHandle
Do Until EOF(nFileHandle)
Get nFileHandle, , pByte
Print Chr(pByte);
Loop
Close nFileHandle
728x90
반응형
그리드형(광고전용)
'VB' 카테고리의 다른 글
[VB] FILELEN 함수를 사용해 파일 길이 구하기 (0) | 2016.06.01 |
---|---|
[VB] NAME 명령문을 사용해 파일명 변경하기 (0) | 2016.06.01 |
[VB] 순차 파일 APPEND 모드 사용하기 (0) | 2016.06.01 |
[VB] 순차 파일 쓰기/읽기 (0) | 2016.06.01 |
[VB] 파일 복사하기 (0) | 2016.06.01 |
[VB] KILL 명령문을 사용해 파일 삭제하기 (0) | 2016.06.01 |
[VB] 현재 시간을 밀리초까지 구하기 (0) | 2015.06.09 |
[VB] 문자열 추출하기 (0) | 2015.06.09 |
[VB] 문자열 선형 탐색하기 (0) | 2015.06.03 |
[VB] 문자열 이진 탐색하기 (0) | 2015.06.03 |
댓글을 달아 주세요