I try to use Unload Me in Form_Load event.My algo. is in form load event I call function that its data type is boolean,that will return true of false value.If this function returns false I want to unload the form.
My code look like:

Private Sub Form_Load()
If Not PondClass.AddFinishCombo(cboID) Then Unload Me
End Sub

When the function return false value,error will occur.

How can I solve this problem?