Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement