Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB Help for VFP programmers
Message
 
 
To
07/12/2000 09:41:38
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00450328
Message ID:
00450349
Views:
32
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.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform