Solved

Issues with changing year on windows form calendar control

Posted on 2010-09-08
8
347 Views
Last Modified: 2012-05-10
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?

0
Comment
Question by:johnnyg123
  • 4
  • 3
8 Comments
 

Author Comment

by:johnnyg123
ID: 33629055
I have attached a word doc with screen prints
change-year-issue.doc
0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33629059
What kind of calendar control  your are using....
Datetime Picker does not do that...
0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33629165
Also there is amonth Calendar..in toolbox
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33629310
What VS Version are u using?Is it a custom Control?
0
 

Author Comment

by:johnnyg123
ID: 33629826
the standard monthcalendar control in vs 2005
0
 
LVL 17

Accepted Solution

by:
Zhaolai earned 500 total points
ID: 33629948
I can re-produce it even in vb 2010. I believe it's a bug. Use DateTimePicker instead.
0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33629952
1.Check Your SelectionRange in calendar Properties...
2.try to change the TitleForeColor, to Red just to see what happens...
0
 

Author Comment

by:johnnyg123
ID: 33630478
Gotta love Microsoft
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question