Solved

Issues with changing year on windows form calendar control

Posted on 2010-09-08
8
368 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

726 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