bcm 5 Junior Poster in Training

I want to create a text file whose size should be only 1kb. The datashould not exceed more than that.
How can I do that in VB.NET¿¿¿¿¿¿