10-08-2001, 11:24 AM
is there a way to convert byte data type to string?
"No one can know everything, only so much as to drive us to look for the rest." -PrOpHeT-
10-08-2001, 11:44 AM
You can use Chr$ function:
<pre>strVar = Chr$(byteVar)</pre>
if that doesnt work, then this should:
<pre>strVar = Chr$(CInt(byteVar))</pre>
10-08-2001, 01:54 PM
Chr() I think will convert it to an ASCII character. CStr will convert the type.
If at first, you don't succed, call it version 1.0.
10-08-2001, 08:46 PM
If you have a Byte array do this...
strText = StrConv(bytArray, vbUnicode)
I think therefore I am... sometimes right. images/icons/wink.gif