I have a file, that I think is a Hexadecimal file.

Can anybody tell me if, in deed, fhe file is a Hexadecimal file, and If there is a way to read it, using Visual Basic 6, so that the output would be a readable ascii text file. the code is........

p2 (PC-DNC Plus CMT file)
31150000000A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000_1B
30000004010000003001000000000000300400000000000030020000000000003007000000000000300500000000000030030000010000003003000002000000_39
30060000000000003008000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000_15
32000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000_05
p2
110001000B003200040961534D414C4C2043454E5445522000000000000000000000000000000000000000100003000A01000000000000000000000000001501_E4
1000003C0000000000000000000000000000000000000000C00100009C400003A98000010000271000026D2C0000138800000000000000000000000000000000_C0
1000013C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000_18
1000023C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000_19
1000033C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000_1A
1000040A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000_16
1000053C010000000FD20000414C554D20000BB80000000094D40000659000015F900000006400000032000000C8000000000000000018010000200600000001_50
1000063C000100000000000000000000000000000000000000000000000000000000000000000000000B00015601000000200000000000000000000000050000_44
1000073C000000000000000000000000000000000000000000000000000000000000560200000020000000000000000000000001000000000000000000000000_2E
1000083C000000000000000000000000000000000000000056030000012500000000005A00000000001F00000000000000000000000000000000000000000000_62


Please can you email me at..

email removed if you have any idea

Many thanks

Darren

#1) Don't post a million lines of junk, the first few lines is enough
#2) as per The Rules, answers will be posted here
#3) Don't post an email address on a public forum -- you wanna get spammed to death? ;)

The file is a binary file (there's no such thing as a hex file). This means the data is in computer-readable form, not human-readable. You will have to
1) open the file in binary mode
2) read the data into integers, floats, and other binary variables
3) understand what you are reading -- the format of the file. To get any real info out of it, you need to know what type of data you are reading which means you need a 'roadmap' of the file. Ask whoever created the file for the information.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.