Results 1 to 2 of 2

Thread: Anyone know how to code MS Calendar control?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 1999
    Location
    Brisbane, Qld, Australia
    Posts
    78

    Post

    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

  2. #2
    Lively Member
    Join Date
    Jun 1999
    Location
    Raleigh, NC
    Posts
    70

    Post

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width