| | |
using calendar picker from Microsoft calendar control 8.0
Thread Solved |
•
•
Join Date: Aug 2007
Posts: 32
Reputation:
Solved Threads: 0
hi, i need help on calendar picker.i placed a calendar control on a form.once i click on any date,i want the date value to be inserted into fields in database.i tried searching for the codes bt what i got was a manually designed calendar by a programmer.is it possible to insert those codes in calendar control 8.0?do we need to do the codings manually when using this component?(microsoft calendar control 8.0)
thanks in advance..
thanks in advance..
•
•
Join Date: Aug 2007
Posts: 32
Reputation:
Solved Threads: 0
i now realize that my main problem is : "i don't exactly know how to use it."
do u mean that by just placing the calendar control on the form, i can straight away use them without having to program anything n just call them with
when i click on certain date from calendar control, i want the value to be inserted into a field in database.how do i do that?
thanx again plusplus
do u mean that by just placing the calendar control on the form, i can straight away use them without having to program anything n just call them with
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
adodc1.recordset("datepicked") = calendar1.value
thanx again plusplus
•
•
Join Date: Aug 2007
Posts: 32
Reputation:
Solved Threads: 0
hey, i think i'm using it,the monthview you said.i used this :
and it worked well.thank you very much for your help plusplus
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Private Sub MonthView1_DateClick(ByVal DateClicked As Date) booking_date = MonthView1.Value 'add values into a global variable for use in another form Unload Me 'unload the current form CR1.Show 'load another form (where global variable will be used) End Sub
•
•
Join Date: Aug 2007
Posts: 32
Reputation:
Solved Threads: 0
i have another thing to add.i want to detect whether date clicked falls on weekend or weekdays so that different form will be loaded.how do i retrieve "day" from the date clicked so i can check it?btw,here are my codes:
thanx again in advance
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Private Sub MonthView1_DateClick(ByVal DateClicked As Date) booking_date = MonthView1.Value 'add values into a global variable for use in another form Unload Me 'unload the current form //*If MonthView1.Value = saturday Or MonthView1.Value = sunday Then 'check if date falls on weekend CR2.Show 'load another form (where global variable will be used) Else CR1.Show End If End Sub
![]() |
Similar Threads
- calendar inside datagrid (ASP.NET)
- Calendar control (ASP.NET)
- DOB field-how to use text field and pop out calendar same time? (ASP)
- I want to Edit Calendar Class in ASP.NET (ASP.NET)
- Edit Calendar (ASP.NET)
- Inherit Calendar (Python)
- help with sort using Calendar class getting null pointer exception (Java)
- Browser Homepage Hijacked (Viruses, Spyware and other Nasties)
- Need help removing prosearching.com (Viruses, Spyware and other Nasties)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Print A lIST
- Next Thread: Help Running SQL thru VB
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





