how to write bin file? 
Author Message
 how to write bin file?

Hi all,

I'm just reading from one file and writing to other but other file is not a
bitmab any more!!!
Any help?

Dim data As Variant
Dim fSize As Long

fSize = FileSystem1.FileLen("\My documents\in.bmp")

File1.Open "\My documents\in.bmp", fsModeInput, fsAccessRead
data = File1.InputB(fSize)

File1.Open "\My documents\out.bmp", fsModeBinary, fsAccessWrite
File1.Put data, fSize

Wed, 21 Jan 2004 01:22:47 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Execute .BIN file to be an .EXE file

2. Converting Dec to Bin and Bin to Dec.

3. Files in the bin folder of a project + How to use it with VSS

4. Sending Files to Recycle Bin

5. Sending Files to Recycle Bin

6. Path to Runtime BIN File

7. .BIN file porting to VB

8. Move file to Recycle Bin

9. Stopping files going to the Recycle Bin?

10. deleteing a file to the recycle bin

11. ! API Call to Move Files to Recycle Bin?

12. Moving Files to the Recycle Bin


Powered by phpBB® Forum Software