Avatar of johnnyg123
johnnyg123
Flag for United States of America asked on

Issues with changing year on windows form calendar control

I have a windows form in a vb.net project that has a calendar control on it.

When I try to change the year by using the spin button control the months are sometimes displayed with only the dates that are equal to or less than the date selected.

For example, I bring up the form and September 2010 is displayed with the current date of the 8th selected. I go to the spin button and change year to 2009. The control now displays only the 30, 31, 1, 2,3,4,5,6,7 and 8 (the 8 is cut off).  If I click on the control a few times all the days of the month are displayed.  

I was really hoping to scroll through the years with all dates displayed.

Is there a way to do this?

Visual Basic.NET

Avatar of undefined
Last Comment
johnnyg123

8/22/2022 - Mon
johnnyg123

ASKER
I have attached a word doc with screen prints
change-year-issue.doc
John (Yiannis) Toutountzoglou

What kind of calendar control  your are using....
Datetime Picker does not do that...
John (Yiannis) Toutountzoglou

Also there is amonth Calendar..in toolbox
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
John (Yiannis) Toutountzoglou

What VS Version are u using?Is it a custom Control?
johnnyg123

ASKER
the standard monthcalendar control in vs 2005
ASKER CERTIFIED SOLUTION
Zhaolai

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
John (Yiannis) Toutountzoglou

1.Check Your SelectionRange in calendar Properties...
2.try to change the TitleForeColor, to Red just to see what happens...
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
johnnyg123

ASKER
Gotta love Microsoft