I get this error
Additional information: Invalid file format.
I am using this code

VB Code:
  1. If OpenFileDialog.ShowDialog() = DialogResult.OK Then
  2.             Dim Child As frmChild
  3.             Child = New frmChild
  4.             Child.MdiParent = Me
  5.             Child.Show()
  6.             Child.ActiveForm.Text = OpenFileDialog.FileName
  7.             Child.txtBoxChild.LoadFile(OpenFileDialog.FileName)
  8.         End If

What's wrong?