From: Nobody on
"Horst Heinrich Dittgens" <hhd71(a)sofort-mail.de> wrote in message
news:hg8bvr$8tp$03$1(a)news.t-online.com...
>> 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.