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.

FIX: An Unhandled exception occurs when you set MinDate or MaxDate in a .NET Compact Framework 3.5 application on a Windows Embedded Compact 7 device


View products that this article applies to.

Introduction

This article describes an error that occurs when you set the MinDate or MaxDate property for the DateTimePicker control in a .NET Compact Framework 3.5 application on a device that is running Windows Embedded Compact 7. An update is available to resolve this problem. Before you install this update, all previously issued updates for this product must be installed.

↑ Back to the top


Symptoms

You have a .NET Compact Framework 3.5 application on a device that is running Windows Embedded Compact 7. When you set the MinDate or MaxDate property for the DateTimePicker control, you receive the following error message:

Unhandled exception is thrown on line
this.dateTimePicker1.MinDate = new System.DateTime(2008, 1, 1, 14, 39, 0, 0);

↑ Back to the top


Resolution

Software update information

A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update (July 2015).

Note This Windows Embedded Compact 7 Monthly Update is available for download from the following Microsoft Download Center website:

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information
The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Files that are included in this update package
File nameFile sizeDateTimePath
Netcfagl3_5.dll254,11214-Jul-201503:35Others\Dotnetv35\Armv6
Netcfagl3_5.rel76,18214-Jul-201503:35Others\Dotnetv35\Armv6
Netcfagl3_5.dll193,69614-Jul-201503:35Others\Dotnetv35\X86
Netcfagl3_5.rel64,08914-Jul-201503:35Others\Dotnetv35\X86
Netcfagl3_5.dll254,11214-Jul-201503:35Others\Dotnetv35\Armv7
Netcfagl3_5.rel76,18214-Jul-201503:35Others\Dotnetv35\Armv7
Netcfagl3_5.dll254,11214-Jul-201503:35Others\Dotnetv35\Armv5
Netcfagl3_5.rel76,18214-Jul-201503:35Others\Dotnetv35\Armv5

↑ Back to the top


References

Learn about the terminology that Microsoft uses to describe software updates.

↑ Back to the top


Keywords: kbqfe, kbsurveynew, kbnotautohotfix, kbfix, kbpubtypekc, kbexpertiseinter, atdownload, kb

↑ Back to the top

Article Info
Article ID : 3079640
Revision : 1
Created on : 1/7/2017
Published on : 8/19/2015
Exists online : False
Views : 179