Solved

Issues with changing year on windows form calendar control

Posted on 2010-09-08
8
355 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

821 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