You have a lot to learn, and practice before you play with whatever you imagine that you can code...
So first you have to learn abouτ string encoding, then you have to learn how visual basic save a file, but before that, you have to learn what is a file.

So what is a file (i ask something which is known for all files).