From: Nobody on
"Horst Heinrich Dittgens" <hhd71(a)> wrote in message
>> Further more, you can not safely store arbitrary binary data in a string.
> Hmm, why not? I think VB's strings can contain nulls without
> loosing/truncating them when strings are copied. And if they are converted
> into unicode the should be converted back errorfree, or not?

If they are converted to ANSI and back, such as when calling an API
function, or to/from control property(VB controls are all ANSI) then you may
have unexpected values, and any values after the null are not converted. So
use byte array for binary data.