# about .INI file

Posted by hujian on July 24, 1998 at 10:50:58:

I use the GetPrivateProfileString to read the INI file,but i can not
get currectly display.help me!thanks!
;my INI file
test.INI
[Base]
number=55555
[system]
path=c:\windows

;program
Dim ret As Long
Dim buff As String
ret = GetPrivateProfileString("Base", "number", "number", buff, 256, "c\test.ini")
Text1.Text = buff
;The text1.text always null

Follow Ups:

- Re: about .INI file cww 14:14:17 7/24/98 (0)
- Re: about .INI file Albert 13:47:40 7/24/98 (0)