Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown characters in my string variable
Message
 
To
28/10/1998 05:28:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00151425
Message ID:
00151489
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform