728x90
반응형
728x170
▶ INI 파일 내용
[Examination]
ExaminationType=5
▶ API 선언
Declare Function WritePrivateProfileString& Lib "kernel32" Alias "WritePrivateProfileStringA" (strApplicationName As String, strKeyName As String, strKeyDefault As String, strFileName As String)
Declare Function GetPrivateProfileString& Lib "kernel32" Alias "GetPrivateProfileStringA" (strApplicationName As String, strKeyName As String, strKeyDefault As String, strReturnValue As String, lSize As Long, strFileName As String)
▶ 함수 호출
Call GetPrivateProfileString("Examination", "ExaminationType", "00", strExaminationType, 10, "\examination\setting.ini")
728x90
반응형
그리드형(광고전용)
'VB' 카테고리의 다른 글
[VB] 문자열 추출하기 (0) | 2015.06.09 |
---|---|
[VB] 문자열 선형 탐색하기 (0) | 2015.06.03 |
[VB] 문자열 이진 탐색하기 (0) | 2015.06.03 |
[VB] DBEngine 클래스 : CompactDatabase 메소드를 사용해 패스워드를 갖는 MDB 파일 압축하기 (0) | 2015.06.02 |
[VB] OPENDATABASE 명령문을 사용해 패스워드를 갖는 MDB 파일 열기 (0) | 2015.06.02 |
[VB] 애플리케이션 중복 여부 구하기 (0) | 2015.06.01 |
[VB] DBEngine 클래스 : CompectDatabase 메소드를 사용해 MDB 파일 압축하기 (0) | 2015.06.01 |
[VB] MDB 파일 정보 구하기 (0) | 2015.06.01 |
[VB] 마우스 커서 표시 여부 설정하기 (0) | 2015.05.31 |
[VB] 클래스 사용하기 (0) | 2015.05.31 |
댓글을 달아 주세요