Click to See Complete Forum and Search --> : Forget about GetPrivateProfileInt :), I got it to work but I have one problem....


AndyK
December 3rd, 1999, 11:33 PM
I get False or True when I use GetPrivateProfileString, but how can I read a value from it...I can write a value to ini but how can I read that value and display it in text1.text...not True or False but string itself

Thank You

smalig
December 10th, 1999, 01:59 PM
The return value is the number of characters copied to the buffer.

You need check 4-th parameter (lpReturnedString).

smalig@hotmail.com
http://vbcode.webhostme.com/