>I used the GetPrivateProfileSection API to read a complete section into a string variable. After this I want to add each item of this section as an item of a combobox using the 'additem' property. But i'm only succeeding in adding the first item of the section. There seem to be unknown characters in my string variable.
>
>Could someone tell me how to do this.
Hi Marcel,
The items in the returned string are sparated by nulls (CHR(0)) with the last item followed by two of these. I'd determine the ending position, remove the last two and trim the string. Then I'd parse it to retrieve the necessary information.
hth,
George
Ubi caritas et amor, deus ibi est