Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
With OpenFileDialog1
.FileName = "file1.exe"
.ShowDialog()
TextBox1.Text = OpenFileDialog1.FileName
End With
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
With OpenFileDialog2
.FileName = "file2.exe"
.ShowDialog()
TextBox2.Text = OpenFileDialog2.FileName
End With
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
With SaveFileDialog1
.FileName = "bindet.exe"
.ShowDialog()
End With
Dim file1 As String = OpenFileDialog1.FileName
Dim file2 As String = OpenFileDialog2.FileName
Dim file3 As String = SaveFileDialog1.FileName
FileOpen(1, file3, OpenMode.Binary)
FilePut(1, file2 & file1, LOF(1) + 1)
FileClose(1)
End Sub
End Class