Right, I have a byte array tmp which contains:
tmp(0) = 49
tmp(1) = 50
tmp(2) = 51
tmp(3) = 52
Then I do this:
fnum = FreeFile
Open filenamepath For Binary As fnum
Put #fnum, , tmp
Close #fnum
I then open the file in a text editor and see this:
" 1234"
where I was clearly expecting to see:
"1234"
Where are these extra bytes comming from? I think there are two bytes added to the beginning of the file. A '17' and a '32' are what they seem to be!
Any ideas on what I should do? Should I try text stream or something in the FSO instead??
Cheers
elziko
tmp(0) = 49
tmp(1) = 50
tmp(2) = 51
tmp(3) = 52
Then I do this:
fnum = FreeFile
Open filenamepath For Binary As fnum
Put #fnum, , tmp
Close #fnum
I then open the file in a text editor and see this:
" 1234"
where I was clearly expecting to see:
"1234"
Where are these extra bytes comming from? I think there are two bytes added to the beginning of the file. A '17' and a '32' are what they seem to be!
Any ideas on what I should do? Should I try text stream or something in the FSO instead??
Cheers
elziko