Delete value in between array of bytes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kirubagari
    New Member
    • Jun 2007
    • 158

    Delete value in between array of bytes

    is it possible to do deletion in visual basic.

    1.04 FF F2 03 37 04 04 FF - FF 03 37 04 04 FF F0 03.....line 1
    2.37 04 04 FF EF 03 37 04 - 04 FF 04 FF EE 03 37 04.....line 2
    3.04 FF ED 03 37 04 04 FF - EC 03 37 04 04 FF EB 03....line 3


    There is repeating data in the above value.How i can delete the repeating value.When i check it out from byte 49 to mfile size there is repeating data 04 FF.How i can use vb to delete the repetating data?There is repeatation of 04 FF. i want to delete one of 04 FF data and make the data look like this


    1.04 FF F2 03 37 04 04 FF - FF 03 37 04 04 FF F0 03 .....line 1
    2.37 04 04 FF EF 03 37 04 - 04 FF EE 03 37 04 04 FF .....line 2
    3.ED 03 37 04 04 FF EC 03 - 37 04 04 FF EB 03 37 04 ...line 3

    Delete 04 FFdata from line 2.Hwo i can make this in vb?
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    See response in this thread.

    Comment

    Working...