Results 1 to 1 of 1

Thread: [VB6, XP+] Hex Dump Byte Array

  1. #1

    Thread Starter
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    [VB6, XP+] Hex Dump Byte Array

    Often you simply have to take a peek at what your program is actually working with. Just as often this means you need a quick hex dump of some data.

    This project demonstrates the use of a small drop-in Form you can use to display any simple Byte array in hex. In the example a file is loaded in via binary I/O and dumped.

    Since frmDump is using the Crypto API to do the heavy lifting here you can't use this technique in ancient versions of Windows (prior to Windows XP). The alternative there would be to code one up the hard way.

    Note that because the function HexDump() is exposed as a public method of frmDump it can also be used in the Immediate window for debugging too.
    Attached Images Attached Images   
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width