Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the user name?
Message
De
21/10/1998 01:30:33
Penmetsa Sridhar
Visualsoft Technologies Limited
Hyderabad, Inde
 
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00141215
Message ID:
00148772
Vues:
21
I was out of station,so is the delay sorry!

The functionality of the ConvertString
--------
Public Function ConvertString(tmpVal As String, KeyValSize As Long) As String
If (Asc(Mid(tmpVal, KeyValSize, 1)) = 0) Then
(If Win95 Adds Null Terminated String...)
ConvertString = Left(tmpVal, KeyValSize - 1)
(Null Found, Extracting From String)
Else
(IF WinNT Does NOT Null Terminate String...)
ConvertString = Left(tmpVal, KeyValSize)
(Null Not Found, Extracting String Only)
End If
End Function
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform