A1VBCode Forums

Hex Editing or something like it.


http://www.a1vbcode.com/vbforums/Topic23350.aspx

By Oblivion_Of_Pain - 10/17/2007

I'm using VB 6.0 and I'm trying to make an editor for an old playstation game. I'm using CDmage to extract files off of the CD. I can use a hex editor to edit the files, but I want to us VB to automate the process and make it more user friendly. I'm not a total newb with VB but what I'm looking to do, I might as well be. I've looked at over 100 pages here of code and programs looking for something that I can use to build on. I found one good hex editor, but it's quite complex for me and the author wrote it with almost no comments so I'm not making heads or tails of it. I'm hoping that someone can help me with some simple coding to edit in hex, I don't actually want to display the hex at all, just have it so users can select something out of a list box and have my program change the file I'm editing. I'm not sure I'm making myself clear but any help would be much appreciated.
By Keithuk - 10/20/2007

Oblivion_Of_Pain (10/20/2007)

On related note, is there a way to work with string variables the same way as text boxes using things like selstart, sellength and seltext?

Yes you you can read the file using the Line Input function. Wink