All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVB - FileHandler.vb (Read/write binary files)
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ctacke

877 Posts

Posted - 23 May 2002 :  11:00:38  Show Profile  Email Poster
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

ctacke

877 Posts

Posted - 31 May 2002 :  15:22:05  Show Profile  Email Poster
Revision 2 Updates

FileHander has been expanded to include:

- Reading the file contents via the ReadFile API
- Displaying the file contents in Hex or ASCII
- Writing sample binary data to the file

-----------------
Chris Tacke, eMVP
Applied Data Support
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000