I don't know if this is what you needed or not, but you can assign a sting
to a byte array, just remember that the array will have the ascii value of
the characters, and that they are seperated so you will go every other
entry in the byte. A real simple example is
Private Sub Form_Load()
Dim str As String
Dim bytstr() As Byte
Dim i As Integer
str = "abcdefg"
bytstr = str
For i = 0 To UBound(bytstr) Step 2
MsgBox Chr(bytstr(i))
Next i
End Sub
hope this helps,
Dave
> Hello everyone,
>
> Does anyone know off an efficient method of splitting a char field (of
one
> length) into it's corresponding 8 bits? I need to be able to manipulate
> each of these bits.
> Thanks alot.
>