Click here to Skip to main content
15,909,939 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Null Pin
Jon_Boy21-May-09 4:53
Jon_Boy21-May-09 4:53 
GeneralRe: Null Pin
No-e21-May-09 5:24
No-e21-May-09 5:24 
GeneralRe: Null Pin
Dave Kreskowiak21-May-09 6:41
mveDave Kreskowiak21-May-09 6:41 
GeneralRe: Null Pin
No-e21-May-09 7:04
No-e21-May-09 7:04 
AnswerRe: Null Pin
Thomas Krojer21-May-09 21:06
Thomas Krojer21-May-09 21:06 
QuestionDateTimePicker question Pin
Laser Steve21-May-09 1:38
Laser Steve21-May-09 1:38 
AnswerRe: DateTimePicker question Pin
Dalek Dave21-May-09 1:54
professionalDalek Dave21-May-09 1:54 
GeneralRe: DateTimePicker question Pin
Laser Steve21-May-09 3:22
Laser Steve21-May-09 3:22 
The DateTimePicker does not let the user pick a date before or after the MAX/MIN values I set in the DateTimePicker method. It responds with a "beep".

Therefor there is no value being reported back to the sub. Until a valid date is picked.

This code shows that.

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    DateTimePicker1.MaxDate = Today
    DateTimePicker1.MinDate = "5/1/09"

End Sub

Private Sub DateTimePicker1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker1.ValueChanged
    TextBox1.Text = DateTimePicker1.Value
End Sub


I know the system is reporting the attempt to pick a invalid date, because of the beep I hear.

So instead of just a beep, how can I get a MSGBOX()?
GeneralRe: DateTimePicker question Pin
Dalek Dave21-May-09 3:42
professionalDalek Dave21-May-09 3:42 
GeneralRe: DateTimePicker question Pin
Dave Kreskowiak21-May-09 3:45
mveDave Kreskowiak21-May-09 3:45 
GeneralRe: DateTimePicker question *** Answered *** Pin
Laser Steve21-May-09 3:52
Laser Steve21-May-09 3:52 
GeneralRe: DateTimePicker question Pin
Dalek Dave21-May-09 3:55
professionalDalek Dave21-May-09 3:55 
GeneralRe: DateTimePicker question Pin
Dave Kreskowiak21-May-09 4:25
mveDave Kreskowiak21-May-09 4:25 
GeneralRe: DateTimePicker question Pin
Dalek Dave21-May-09 4:32
professionalDalek Dave21-May-09 4:32 
GeneralRe: DateTimePicker question Pin
Dave Kreskowiak21-May-09 6:40
mveDave Kreskowiak21-May-09 6:40 
QuestionLoading image dynamically in crystal report Pin
Ovais Memon21-May-09 0:09
Ovais Memon21-May-09 0:09 
AnswerRe: Loading image dynamically in crystal report Pin
Kschuler26-May-09 7:57
Kschuler26-May-09 7:57 
QuestionSend SMS from a VB6 application. Pin
she-Developer20-May-09 23:31
she-Developer20-May-09 23:31 
AnswerRe: Send SMS from a VB6 application. Pin
EliottA21-May-09 3:03
EliottA21-May-09 3:03 
QuestionCyrstal Reports subreport Section hiding Pin
jinxster20-May-09 23:07
professionaljinxster20-May-09 23:07 
AnswerRe: Cyrstal Reports subreport Section hiding Pin
David Mujica21-May-09 3:13
David Mujica21-May-09 3:13 
GeneralRe: Cyrstal Reports subreport Section hiding Pin
jinxster21-May-09 5:53
professionaljinxster21-May-09 5:53 
GeneralRe: Cyrstal Reports subreport Section hiding Pin
David Mujica21-May-09 6:01
David Mujica21-May-09 6:01 
GeneralRe: Cyrstal Reports subreport Section hiding Pin
jinxster21-May-09 6:25
professionaljinxster21-May-09 6:25 
GeneralRe: Cyrstal Reports subreport Section hiding Pin
David Mujica21-May-09 6:29
David Mujica21-May-09 6:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.