Reading a file one byte at a time

  • Thread starter Thread starter Wesley
  • Start date Start date
W

Wesley

Hi,

I'm trying to create a module which will open a file and
read one byte at a time. I have created a form and added
four textbox's, labeled: Binary, Hex, Ascii, Dec.
I've also added two command buttons, labeled: Previous
Byte, Next Byte.

I'm wanting to write code which will open any file and
read in the first byte, then display it in the textbox's
in the format of Binary, Hex, Dex, Ascii, and use the
command buttons to move back and forth in the file. I've
also added a textbox labeled: strPath, which is the fill
path and filename to open.

I've looked at VBA help and can only find help using the
getchuck method, also searched knowledge base and found
nothing that gets me started.
 
I am positive you will find code for a complete HEX editor over in VB
land that you could easily modify to work with Access. Search
GoogleGroups and the Web.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Back
Top