Your question sounds like you are looking for
OCR (Optical Character Recognition)[
^], but really can't tell what your doing by the contents you provided.
If OCR is what you need to do, and you are in a VB6 environment; Google has plenty if you simply search for
OCR VB6[^]