is simple... i need a API to display when i want an information of a textbox... for example when the date is invalid, apears a tooltip saying "invalid date" or something like that... i can use a simple API for it? send me someone!!!!
Printable View
is simple... i need a API to display when i want an information of a textbox... for example when the date is invalid, apears a tooltip saying "invalid date" or something like that... i can use a simple API for it? send me someone!!!!
Use the IsDate function.
Code:Private Sub Command1_Click()
If IsDate("2/29/2001") Then
Msgbox "Date valid"
Else
Msgbox "Date invalid"
End If
End Sub
Private Sub Command2_Click()
If IsDate("2/29/2000") Then
Msgbox "Date valid"
Else
Msgbox "Date invalid"
End If
End Sub