讀寫 *.ini 檔(編號:2265)

用API來寫,使用API檢視員將下列宣告貼到Module1.bas上
Public Declare Function GetPrivateProfileInt Lib "kernel32" Alias "GetPrivateProfileIntA" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal nDefault As Long, ByVal lpFileName As String) As Long
Public Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpString As Any, ByVal lpFileName As String) As Long
為何使用的時候都無效呢?
如果我使用內建的Getsetting和Savesetting函數則沒有問題
可是Getsetting和Savesetting是把東西放在哪一個檔案?我找不
到檔案來用wordpad直接修改內容啊