... when user trying to enter a particular date by just click on the date on the calendar??
Printable View
... when user trying to enter a particular date by just click on the date on the calendar??
If you are using the Calendar object, simply use the following
Private Sub Calendar_Click()
Me.txtCalendar.Text = Me.Calendar.Value
End Sub
assuming that the txtCalendar is a text box
Calendar and Month objects are great when programming and you have to have dates selected by the user.
thanks for the reply. btw, i have no idea where to get the calendar object, care to guide me??
thanks!
Don't know if you use or have added extra components to your projects yet, but I thought the Calendar component was part of the VB package. Try one of these...
Ctrl-T to bring up the Components manager and see if there is a MS Calendar Control (MSCAL.OCX) . If found, add it to your project.
If not, find the MSCAL.ocx file and add it to your computer. Then add it to your project .
Failing to find the file, let me know and I will see what I can do to get it to you.
i have just successfully to add a calendar, it's very nice of you and thanks!Quote:
Originally posted by CliffPhilip
Don't know if you use or have added extra components to your projects yet, but I thought the Calendar component was part of the VB package. Try one of these...
Ctrl-T to bring up the Components manager and see if there is a MS Calendar Control (MSCAL.OCX) . If found, add it to your project.
If not, find the MSCAL.ocx file and add it to your computer. Then add it to your project .
Failing to find the file, let me know and I will see what I can do to get it to you.