Computer Hope

Software => Computer programming => Topic started by: linguist2000 on February 02, 2010, 06:51:01 AM

Title: Visual Basic 6 help - multi select calender
Post by: linguist2000 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
Title: Re: Visual Basic 6 help - multi select calender
Post by: BC_Programmer 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.
Title: Re: Visual Basic 6 help - multi select calender
Post by: linguist2000 on February 04, 2010, 11:29:39 AM
thank you so so much :)