To convert a string into bytes, use: bytes = StrConv(txt, vbFromUnicode)To convert an array of bytes into a string, use: txt = StrConv(bytes, vbUnicode) |
Private Sub cmdConvert_Click() |
Senin, 30 Agustus 2010
How to Convert Byte To String In Visual Basic 6.0
This example shows how to convert a string into bytes and vice versa in Visual Basic 6.
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar