Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27501

[RESOLVED] Unicode Conversion

$
0
0
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

Viewing all articles
Browse latest Browse all 27501

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>