VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Pure VB Hex Editor

by Erik Stites (10 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

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

Upload

Download this snippet    Add to My Saved Code

Pure VB Hex Editor Comments

No comments have been posted about Pure VB Hex Editor. Why not be the first to post a comment about Pure VB Hex Editor.

Post your comment

Subject:
Message:
0/1000 characters