Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get user name from network
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00275384
Message ID:
00275871
Vues:
22
>>>>Yes, I've already thought about using a local, though it's instantaneous even without it...
>>>
>>>I know how sensitive some of your work is to perfomance, so...
>>
>>Well, it's not like we login 1,000,000 times in a loop, George < s >
>
>Yeah, but you know how anal I can get about this stuff< g >.
>>
>>>I think you're thinking of the start position parameter. If TALK is ON, and the start position is greater than the length of the string an error is generated. Otherwise, it isn't and an empty string is returned. AFAIK, no SETting affects the second (length) parameter (at least there's no doc on it).

George,

I think that may be something they've fixed in VFP6/SP3. It doesn't seem to generate an error anymore no matter what the SET TALK setting is. It certainly did in VFP 5, though.

Bruce,

Your code seems to work OK for me in both W95/W98. I think you're using NT, so that should cover all the bases.

>>
>>Okay, thanks, I'll dump that part, then.
>
>All I can tell you is that I've never had a problem with it and have used it literally hundreds of times.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform