Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Amend hex values
Message
From
04/11/2005 11:44:24
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Amend hex values
Miscellaneous
Thread ID:
01065492
Message ID:
01065492
Views:
55
I am able to edit a file manually using a Hex Editor program but i would like to be able to do this programmatically in VB.

As an example, in the Hex Editor TEST.DAT looks like:

00000000: 0c 00 00 45 76 65 72 79 20 63 6c 6f 75 64 20 68
00000010: 61 73 20 61 20 73 69 6c 76 65 72 20 6c 69 6e 69
00000020: 6e 67 2e 20 20 20 20 20 20 20 20 20 20 20 e6 4b

and i want to change the values to the following:

00000000: 0c 00 00 41 6e 20 61 70 70 6c 65 20 61 20 64 61
00000010: 79 20 6b 65 65 70 73 20 74 68 65 20 64 6f 63 74
00000020: 6f 72 20 61 77 61 79 2e 20 20 20 20 20 20 e6 4b

Could someone help me or point me to a tutorial to do this.

Much appreciated.
Preston North End forever...
Reply
Map
View

Click here to load this message in the networking platform