Any file can be a binary file (*.bin). Files only differ in their content and the way they are opened.
One could open a text file as binary...
[tt]
ff = FreeFile
Open "c:\MyFile.txt" for Binary as #ff
[/tt]
...place the contents in a string, manipulate it and write it back to the correct location in the file. But...
[tt]
Open "c:\windows\explore.exe" for Output as #ff
[/tt]
...does not lend itself to writing the (binary) file correctly.
What do you plan to save to your BIN file? How do you plan to use the data in the future?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.