Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the user name?
Message
From
21/10/1998 01:30:33
Penmetsa Sridhar
Visualsoft Technologies Limited
Hyderabad, India
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00141215
Message ID:
00148772
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform