I have been trying the method shown in the FAQ to read from an ini file but I do not get a result.
is this valid for VFP6?
is there another method?
Code:
Declare Integer GetPrivateProfileString in Kernel32 ;
string, string, string, string @, integer, string
*!* To read the value:
lcBuffer = space(255)
?GetPrivateProfileString( "MySection","MyKey","",@lcBuffer, Len(lcBuffer), addbs(fullpath(curdir()))+"MyIniFile.ini")
is this valid for VFP6?
is there another method?