Please check out Extract icon from resource file. There is a bytes.bin file that I created attached that you can use to convert int to byte using Adodb.Stream.