M
Mike Fellows
im running the code below when a new item is selected within a combobox the
code runs fine but when it gets to me.close it crashes - it doesnt start the
next form just crashes (its not debugabble) it seems to be a problem with
the .net framwork - have i done something silly, or have i found a known
bug - if so is there a workaround?
Thanks in advance for your help
Mike Fellows
Private Sub ComboBox3_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles ComboBox3.SelectedIndexChanged
If Loading = False Then
TimeAddy = Me.ComboBox3.Text.ToString
SaveFactFind()
If Me.ComboBox3.Text = "36 Months or over" Then
Dim x As New TotalTimeAtAddress
x.ID = ID
x.show()
Else
Dim x As New PreviousAddresses
x.ID = ID
x.Show()
End If
Me.Close()
End If
End Sub
code runs fine but when it gets to me.close it crashes - it doesnt start the
next form just crashes (its not debugabble) it seems to be a problem with
the .net framwork - have i done something silly, or have i found a known
bug - if so is there a workaround?
Thanks in advance for your help
Mike Fellows
Private Sub ComboBox3_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles ComboBox3.SelectedIndexChanged
If Loading = False Then
TimeAddy = Me.ComboBox3.Text.ToString
SaveFactFind()
If Me.ComboBox3.Text = "36 Months or over" Then
Dim x As New TotalTimeAtAddress
x.ID = ID
x.show()
Else
Dim x As New PreviousAddresses
x.ID = ID
x.Show()
End If
Me.Close()
End If
End Sub