I get this error
I am using this codeQuote:
Additional information: Invalid file format.
VB Code:
If OpenFileDialog.ShowDialog() = DialogResult.OK Then Dim Child As frmChild Child = New frmChild Child.MdiParent = Me Child.Show() Child.ActiveForm.Text = OpenFileDialog.FileName Child.txtBoxChild.LoadFile(OpenFileDialog.FileName) End If
What's wrong?
