Solved

Issues with changing year on windows form calendar control

Posted on 2010-09-08
8
326 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
Comment Utility
I have attached a word doc with screen prints
change-year-issue.doc
0
 
LVL 18

Expert Comment

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

Expert Comment

by:John (Yiannis) Toutountzoglou
Comment Utility
Also there is amonth Calendar..in toolbox
0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
Comment Utility
What VS Version are u using?Is it a custom Control?
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:johnnyg123
Comment Utility
the standard monthcalendar control in vs 2005
0
 
LVL 17

Accepted Solution

by:
Zhaolai earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Gotta love Microsoft
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now