2
Reply

how to compare two images in an asp.net page

kishan

kishan

17y
6.1k
0
Reply

    I didn'tget what is my.computer?

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    Dim file1 As String = My.Computer.FileSystem.ReadAllText("c:\images\5.bmp")

    Dim file2 As String = My.Computer.FileSystem.ReadAllText("c:\images\5a.bmp")

    If InStr(file1, file2) Then

    ' Using the above this will show files are the same

    MessageBox.Show("Files are the same")

    Else

    MessageBox.Show("Files are not the same")

    End If

    End Sub

    This is as simple as you can get.