Why not just do your conversions, and then send the converting string to the procedure:
Code:
'convert a string to bytes
Dim b() As Byte
Dim s As String
s = "Here is my String"
b = StrConv(s, vbFromUnicode)
Now pass the byte array and return the string again
Code:
sString = StrConv(b, vbUnicode)
MsgBox sString
|
__________________
"Artificial Intelligence is no match for natural stupidity." ~unknown
Last edited by MKoslof; 11-20-2004 at 12:00 PM.
|