Page 1 of 1

Visual Basic - WriteAllText

Posted: August 10th, 2012, 5:20 pm
by owner123
So this is a question about the WriteAllText command in visual basic.

It is supposed to write a string to a certain file. It works almost correctly, but whenever I use the command, it append this hex string to the beginning of it.
EF BB BF

As it shows up in text editors,
í»¿


Why is this showing up? I know I'm not writing this text in the command.

Re: Visual Basic - WriteAllText

Posted: August 12th, 2012, 9:28 am
by haxorico
I had that problem some time ago (also it appears at almost any cheated war3map.j file...)
I think that using StreamWriter will solve your problem.