Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Visual Basic 6 help - multi select calender  (Read 3850 times)

0 Members and 1 Guest are viewing this topic.

linguist2000

    Topic Starter


    Greenhorn

    Visual Basic 6 help - multi select calender
    « on: February 02, 2010, 06:51:01 AM »
    I am trying to add my project a calender. What I cant do is that:

    I want to multi select for example from 1 to 5 and/or 10 to 24 days of the month and get data.

    Is there a way to do this? Is Calender components enough for is it done by another object?

    thanks for any help

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: Visual Basic 6 help - multi select calender
    « Reply #1 on: February 02, 2010, 11:01:57 AM »
    You can use the monthView control; (Start->Components Choose "Microsoft Windows Common Controls 2 (6.0)")


    set Multiselect to True, and maxselcount to 31.

    then, you can use the SelStart and SelEnd Properties to acquire the starting and ending dates selected.
    I was trying to dereference Null Pointers before it was cool.

    linguist2000

      Topic Starter


      Greenhorn

      Re: Visual Basic 6 help - multi select calender
      « Reply #2 on: February 04, 2010, 11:29:39 AM »
      thank you so so much :)