Reading a file one byte at a time

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.
 
W

Wesley

Moved post to the correct group, sorry.

Don't know how to kill this from this group.
 
S

Stephen Lebans

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top