If you need a NULL terminated string for your stuff (e.g. working with some WinAPI functions) append a CHR(0) at the end of your strings.
Ex. ""+chr(0)
>I tried that and the server returned an error code saying the string was not null terminated. How do you do that in VFP? In c you can say '\0'.
>
>
>
>
>>>I am converting a VB program to Fox and need to know what the value of vbNullString is. Since I don't have VB installed, I can't get to the manuals.
>>>
>>>Thanks in advance.
>>
>>It's an empty string = "".
>>
>>You could also post these type of questions on the VB forum here.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao