Write non-ASCII chars into binary file 
Author Message
 Write non-ASCII chars into binary file


> Anyone can tell me how to write non-ASCII chars into a binary file?
> Thanks.

I'm not sure what you mean by non-ASCII character, but you can write any
combination of bytes to a file in a number of different ways.  Possibly
the easiest way is to use the CHR$() function to generate the desired
byte values.  If your data is of a different width, use the variable
type that matches your data width - i.e. if your data consists of
double-words, use a long, etc.


Mon, 06 Mar 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. How to write non-ASCII chars into a binary file

2. ASCII Chars -> large chars

3. problem with char field and special ascii char

4. File Type (Binary or ASCII)

5. Open Binary file as Ascii

6. File conversion - Binary to ASCII

7. Is file ASCII or WinWord (or other binary) ?

8. Searching ASCII in a binary file ?

9. Inet control file transfer mode (binary/ascii)

10. How I send a binary/ascii file using winsock

11. reading binary file and writing into a random access file

12. VB -- Long File Name , Fast Binary File Read / Write , interface with DLL


Powered by phpBB® Forum Software