FileHandler is a basic application showing how to write to the filesystem using the CreateFile and WriteFile APIs. FileHandler shows how to write in either ANSI or Unicode text. Extending it to write binary data would be fairly simple.
Download the source and compile VB file: Rev 2 (7k ZIP)
----------------- Chris Tacke, eMVP Applied Data Support