Hello,
I would like to know if anybody could help , I am trying to read the binary content of a file and search for a specific hex code, here is what I have:
Dim gett As New IO.BinaryReader(IO.File.OpenRead("c:\file.txt"))
Dim read As String = gett.ReadDouble
Dim SearchString As String
MessageBox.Show(read)
SearchString = ("4D5A50000200000004")
If read.IndexOf(SearchString) <> -1 Then MessageBox.Show("found") Else MessageBox.Show("no")
Thanks in Advance
Al968