Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The current date value is set to the MinDate or to the MaxDate in a DateTimePicker control in Windows Vista or in Windows Server 2008


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have an application that uses a DateTimePicker control.
  • This DateTimePicker control has two properties: MinDate and MaxDate. The month of the MinDate and the MaxDate are not set to the current month.
  • You run the application in a Windows Vista or a Windows Server 2008 environment.
In this scenario, the current date value is set either to the MinDate or to the MaxDate.

For example, assume that the current date is January 26, 2010. You add two DateTimePicker controls to a Microsoft Windows Forms application.

For control 1, you set the MinDate and the MaxDate properties as follows:
  • Me.DateTimePicker1.MinDate as 2009/12/01
  • Me.DateTimePicker1.MaxDate as 2009/12/30
  • Me.DateTimePicker1.Value as 2010/01/26
You select any dates on this DateTimePicker control. When you click this DateTimePicker control again, the current date is set to the value of the MaxDate.

For control 2, you set the MinDate and the MaxDate properties as follows:
  • Me.DateTimePicker2.MinDate as 2009/02/01
  • Me.DateTimePicker2.MaxDate as 2009/02/28
  • Me.DateTimePicker2.Value as 2010/01/26
You select any dates on this DateTimePicker control. In this example, when you click the DateTimePicker control again, the current date is set to the value of the MinDate.

↑ Back to the top


Cause

This issue occurs because the system function changes the current date selection on the DateTimePicker control when it sets the range of the MinDate and the MaxDate.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:
  • Windows Vista Service Pack 1 (SP1)
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008
  • Windows Server 2008 Service Pack 2 (SP2)
For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
968849 How to obtain the latest service pack for Windows Server 2008

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    VersionProductSR_LevelService branch
    6.0.600 0 . 20xxxWindows VistaRTMLDR
    6.0.600 1 . 22xxxWindows Vista and Windows Server 2008SP1LDR
    6.0.600 2 . 22xxxWindows Vista and Windows Server 2008SP2LDR
  • Service Pack 1 is integrated into the release version of Windows Server 2008. Therefore, RTM milestone files apply only to Windows Vista. RTM milestone files have a 6.0.0000.xxxxxx version number.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Comctl32.dll6.10.6001.226091,685,50420-Jan-201014:09x86
Comctl32.dll6.10.6002.223151,686,01620-Jan-201013:51x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Comctl32.dll6.10.6001.226092,050,04820-Jan-201014:40x64
Comctl32.dll6.10.6002.223152,050,04820-Jan-201013:50x64
Comctl32.dll6.10.6001.226091,685,50420-Jan-201014:09x86
Comctl32.dll6.10.6002.223151,686,01620-Jan-201013:51x86

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information about the Windows Forms DateTimePicker control, visit the following Microsoft Web site: For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
File namePackage_1_for_kb979535~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,715
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_2_for_kb979535~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,882
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_3_for_kb979535~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,720
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_4_for_kb979535~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,720
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_5_for_kb979535~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size2,370
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_6_for_kb979535~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size2,209
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_7_for_kb979535~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size2,209
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_client_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,367
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_client_2~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,694
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_client~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,713
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,421
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_sc_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,690
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_sc~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,701
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_server_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,425
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_server_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,694
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_server~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,713
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_winpesrv_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,422
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_winpesrv~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot applicable
File size1,430
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size3,565
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File nameX86_0ae810c5d107e43b5d08f772b51d5f59_6595b64144ccf1df_6.0.6002.22315_none_8dca535cee455bfd.manifest
File versionNot applicable
File size635
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File nameX86_a3209a00468d507049d3e01d699d4222_6595b64144ccf1df_6.0.6001.22609_none_f49393a7b0ca29b9.manifest
File versionNot applicable
File size635
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File nameX86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.22609_none_460d35de21e1c210.manifest
File versionNot applicable
File size10,203
Date (UTC)20-Jan-2010
Time (UTC)16:52
PlatformNot applicable
File nameX86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.22315_none_45ea88d8223187df.manifest
File versionNot applicable
File size10,203
Date (UTC)20-Jan-2010
Time (UTC)16:49
PlatformNot applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameAmd64_465e9b0b47b6f6414bbd7d3d37eb1385_6595b64144ccf1df_6.0.6002.22315_none_b0ba564cabbc8e1b.manifest
File versionNot applicable
File size938
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File nameAmd64_87771033d90fb04d27d69f221ac80519_6595b64144ccf1df_6.0.6001.22609_none_a1f8fd46ba1dab38.manifest
File versionNot applicable
File size938
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File nameAmd64_d5a3b73edab8a6f23ddf6fcb60acf3cd_6595b64144ccf1df_6.0.6001.22609_none_e8ba8693d74d52a7.manifest
File versionNot applicable
File size639
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File nameAmd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.22609_none_fe5fff070d65990a.manifest
File versionNot applicable
File size10,245
Date (UTC)20-Jan-2010
Time (UTC)17:02
PlatformNot applicable
File nameAmd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.22315_none_fe3d52010db55ed9.manifest
File versionNot applicable
File size10,245
Date (UTC)20-Jan-2010
Time (UTC)16:53
PlatformNot applicable
File namePackage_1_for_kb979535~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,725
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_2_for_kb979535~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size2,067
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_3_for_kb979535~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,903
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_4_for_kb979535~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,903
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_5_for_kb979535~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size2,561
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_6_for_kb979535~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size2,398
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_7_for_kb979535~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size2,398
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,375
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_client_2~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,706
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_client~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,723
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,429
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_sc_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,702
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,711
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,433
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_server_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,706
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,723
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_winpesrv_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,430
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File namePackage_for_kb979535_winpesrv~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot applicable
File size1,438
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size3,593
Date (UTC)21-Jan-2010
Time (UTC)06:54
PlatformNot applicable
File nameX86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.22609_none_460d35de21e1c210.manifest
File versionNot applicable
File size10,203
Date (UTC)20-Jan-2010
Time (UTC)16:52
PlatformNot applicable
File nameX86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.22315_none_45ea88d8223187df.manifest
File versionNot applicable
File size10,203
Date (UTC)20-Jan-2010
Time (UTC)16:49
PlatformNot applicable

↑ Back to the top


Keywords: kbexpertiseadvanced, kbqfe, kbhotfixserver, kbfix, kbsurveynew, kbautohotfix, KB979535

↑ Back to the top

Article Info
Article ID : 979535
Revision : 1
Created on : 2/8/2010
Published on : 2/8/2010
Exists online : False
Views : 302