I am going through some old VB6 code and I come across statements like -
TempArray() = StrConv(PassedString, vbFromUnicode)
What does this mean?
It takes a unicode string (any string in VB is in Unicode) and converts it to a byte array, using the current system codepage for non-unicode programs.
Characters not found in that codepage are replaced with question marks (?
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With