VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Pure VB Hex Editor

Erik Stites  (10 Submissions)   Files/File Controls/Input/Output   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

A complete Hex Editor created using no API's or third party controls.
WARNING- I take no responsibity for any lost information or files caused by using this source. At this time the code does not include a built in Backup function [add one if you would like] so if you accidentally damage files while using this program, well, I hope you have a backup already. Remember, It will never automatically save over your files unless someone changes my code themselves.
Now that the disclaimer is out of the way... The way I have created this program, it only allows the user to save the 'current page' that they are working on. A page consists of 256 bytes on the screen at a time. I did this to save on memory usage as only a quarter of a kilobyte is loaded at a time. Because of this, and the fact that it is Event-Driven [uses no timer controls], it uses very little resources. This source includes a simple ASCII table built in [ok, with this it uses a half KB for data] that you can simply click and view even with a file open. To view the current file information, simply right click on the hex data list.
This code shows how to: use binary file I/O, listbox manipulation, one and two dimentional arrays, Hex, inputbox, msgbox, ASCII and Chr functions
This code is also very fast, even on my Pentium 150MHz laptop.

Rate Pure VB Hex Editor (6(6 Vote))
Pure VB Hex Editor.bas

Pure VB Hex Editor Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters