Solved

Issues with changing year on windows form calendar control

Posted on 2010-09-08
8
336 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
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33629310
What VS Version are u using?Is it a custom Control?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Refresh Datagridview from another form 1 34
Advice in Xamarin 21 48
Help with AsEnumerable(), LINQ 4 22
Get the selected ValueMember of Combobox 5 19
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…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

919 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

21 Experts available now in Live!

Get 1:1 Help Now