Private Sub GSTN_STRT_DT_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles GSTN_STRT_DT.Validating If GSTN_STRT_DT.Value > Date.Now Then MessageBox.Show("Date cannot be AFTER today.") e.Cancel = True 'dteditsbdt Else GST_FORDATE.Focus() GST_FORDATE.Select() : Me.Show() End If End Sub
: Me.Show()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)