Thanks to those that may have tried to find a solution to this
problem. I have not received any responses to this question but
found a solution on my own. I will share my solution to you as is
may be useful to you one day.
In the forms load event I added this line of code...
dtpBAF.MinDate = System.DateTime.Now.Date
Although it does not display any error message, it will display the
current month and not allow you to go back to any previous month.
And it will also not allow you to select any dates previous to the
current date. This serves the purpose of my project. :-) -Wayne
--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
> When someone selects a date inside the DateTimePicker I would like
> to send an alert (i.e. MessageBox.Show(" ")) if the date they
> selected is less than the current date. Is there any way to do
this?
> Any help would be appreciated. Please send directly to
> [EMAIL PROTECTED]
>
> Thanks,
> Wayne :-)
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/