my old VB 6 code
' converts inVal (a string) to a unicode string with the chr(0) in front
InVal = StrConv(InVal, vbUnicode)
ToUnicode = Chr(0) & Left$(InVal, Len(InVal) - 1)
i am trying to do the same thing in VB.net
this was written a long time ago, but i have to send socket data to a 3rd party system, i remember they required the chr(0) to come first for whatever reason
thanks
- kurt
' converts inVal (a string) to a unicode string with the chr(0) in front
InVal = StrConv(InVal, vbUnicode)
ToUnicode = Chr(0) & Left$(InVal, Len(InVal) - 1)
i am trying to do the same thing in VB.net
this was written a long time ago, but i have to send socket data to a 3rd party system, i remember they required the chr(0) to come first for whatever reason
thanks
- kurt