writing binary data to a file 
Author Message
 writing binary data to a file

What is the syntax to write binary data to a file?  I looked in to object
browser, but it's not in there.  Is it the Put statement, or is there a
better way?

Daniel



Sat, 09 Jul 2005 04:25:23 GMT  
 writing binary data to a file
You can "Open" the file for "Binary" "Output" and use the "Put" statement.

And yes, there is a better way but not with intrinsic VB, and the FSO object
doesn't suppotr binary I/O either. An OO-like way can be found on my site as
the FileSystemLib library.

+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+
Monte Hansen - MVP VB
http://KillerVB.com
+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+


Quote:
> What is the syntax to write binary data to a file?  I looked in to object
> browser, but it's not in there.  Is it the Put statement, or is there a
> better way?

> Daniel



Sat, 09 Jul 2005 04:35:43 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to write binary data into a file?

2. Write ADO Field containing binary data (files) to the file system

3. How can I write binary data to a file?

4. Write image data as binary to append existing file

5. Write data in binary file / Convert Image

6. Reading/Writing Data for Binary Files

7. Writing binary data to file with VBScript?

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

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

10. Getting binary data for image and writing/reading it

11. Writing String of Binary Data to I/O Hardware Card on a specific address

12. Newbie Looking for Help :) Binary data reading and writing

 

 
Powered by phpBB® Forum Software