Forget about GetPrivateProfileInt :), I got it to work but I have one problem....
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
Re: Forget about GetPrivateProfileInt :), I got it to work but I have one problem....
The return value is the number of characters copied to the buffer.
You need check 4-th parameter (lpReturnedString).
[email protected]
http://vbcode.webhostme.com/