Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB Help for VFP programmers
Message
 
 
À
07/12/2000 09:41:38
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00450328
Message ID:
00450349
Vues:
33
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform