I am writing an application that uses the code:

Me.AddOwnedForm(frmLI)

frmLI.ShowDialog()

If InitData() = False Then

End If

When I get to the line frmLI.ShowDialog() I get the error:

No value given for one or more parameters

And then the form loads. Anybody got any ideas on why I get this message? Please advise.

Also, when I place the 'offending' code in a try block it doesn't raise an exception! Sheesh...