PDA

Click to See Complete Forum and Search --> : Anyone know how to code MS Calendar control?


Spawny
Aug 10th, 1999, 04:30 PM
Hi, I am wanting to use Mscal.ocx in my project to use as a diary event for a database. What I want to happen is when the user selects a certain date in the calendar control it will display in a listbox the clients that diaryed for the day selected. I need to know as part of this what code goes with for instance a Friday in the calendar. I am having alot of trouble finding example code. If anyone can help with example code it would be very muchly appreciated. Thanks in advance.

Mike

bashfirst
Aug 11th, 1999, 10:20 PM
The .value property of the calendar control returns a date.... you can use all the normal VB date functions to determine if the date is a Friday or anything else.

Bash