I'm running VB.Net 2003 & I think that I have found
a .Net BUG!!!
If I invoke the OpenFileDialog in my application, neither
the SOAPFormatter nor the BinaryFormatter will write the
output file when the application closes.
If I manually edit the textbox, instead of using the
OpenFileDialog, either the SOAPFormatter or the
BinaryFormatter will write the outputfile when the
application closes.
The OpenFileDialog is invoked from by double clicking a
picture box, pbPict. Here is the event handler for the
picture box.
Private Sub pbPict_DoubleClick(ByVal sender _
As Object, ByVal e As System.EventArgs) _
Handles pbPict.DoubleClick
If jpgDialog.ShowDialog = DialogResult.OK Then
tbFileName.Text = jpgDialog.FileName
End If
End Sub
I have made two previous submissions to this newsgroup on
this problem. Because of the previous discussions I have
reduced the application down to the essentials that
produce the error.
Any insight would be greatly appreciated, GrandpaB