Hi all,
i want to open a file with this code

Dim linetext As String
Private Sub Command1_Click()
    CommonDialog1.Filter = "Text Files(*.txt) | *.txt"
    If CommonDialog1.FileName <> "" Then
    Open CommonDialog1.FileName For Input As #1
    Input #1, linetext
    Text1.Text = Text1.Text &linetext
    Loop Until EOF(1)
    End If
    Close #1
    End Sub

after that, i want hash that opened file with MD5.
How to do this in visual basic 6?

I really newbie in this things, i appreciate any help

Thanks a lot vb5prgrmr :)
your info is really useful..
thanks for help me to found what i need to solve the problem ^^