Edit byte in file
Posted on 2010-11-23
So I have no problem reading the byte in this file I want, but I'm having difficulty editing it with VB.NET.
(For example) The value is 0B in hex and I have a combobox populate with possible replacements for the byte - say 9. They are in decimal format and I want them to be able to be selected, then switched to hex format and replace the byte that I have already previously read. So in this instance, 0B becomes 09 after 9 is selected in the combobox and a button is pushed.
Do I need to read the byte first to know which one to replace?
Any help is appreciated!