hmmm det er en lille hurtig kode ... kan nok optimeres
-----------------------------------------------------
Dim FileData() As Byte
Private Sub Command1_Click()
Dim p As Long
For p = LBound(FileData) To UBound(FileData) - 6
Text1.Text = Text1.Text & vbCrLf & p & ":" & Hex(FileData(p)) & ":" & Chr(FileData(p))
If ((Hex(FileData(p)) = "10") And (Hex(FileData(p + 6)) = Hex(Asc(":")))) Then
Dim i
i = p + 5
Dim data As String
Do Until FileData(i) = 0
data = data + Chr(FileData(i))
i = i + 1
Loop
MsgBox data
End If
Next
End Sub
Private Sub Form_Load()
Dim i As Integer
Open "c:\install.lnk" For Binary As #1
ReDim FileData(1 To LOF(1))
Get #1, , FileData
Close #1
End Sub
-----------------------------------------------------
håber du kan bruge det
mvh
Phylock`