View Single Post
  #1   Spotlight this post!  
Unread 02-01-2006, 20:13
complete's Avatar
complete complete is offline
Registered User
no team
 
Join Date: Dec 2005
Location: Saint Louis
Posts: 6
complete is an unknown quantity at this point
Reading binary data from a file and writing it in VB

In Visual Basic 6 I have written a program to read and write to a file. It works fine. Now I have to do the same for binary data since the information I write to the file has end-of-line and return characters. For instance, when I write to the file, the data looks like this:

"3
34"

Because there is a break in the data. In debug mode, the text data has two boxes where the end-of-line and return characters go.

Anyway, does anyone have any example code of binary level reading and writing to and from a file?