PDA

View Full Version : open file in HEX with visual basic



y9001
11-01-2003, 01:55 PM
how can i open a file with visual basic like an hex editor?
i want to load a flash file, but not in text-mode, i want to open it in hex-mode! and can i put it into a textbox?
many thanx

slikmik
11-01-2003, 05:47 PM
asked this ages ago no real help was given

if peeps have any idea

please help :)

Cheers

Mike

Jokse
12-01-2003, 05:13 AM
you just have to open the file in binary mode, all the HEX conversion is simply done by the Hex function



Public Shared Function Hex( _
ByVal Number As { Byte | Short | Integer | Long | Object } _
) As String


if you just take a peek into the help file of Visual Basic you will discover it is quite easy to make a hexview app