Joseph Irizarry wrote: > It seems that there is no way to force the DateTimePicker to go before > 1753. The absolute minimum date it will allow is stored in a readonly > static variable. I have not other suggestions than to write your own > calendar control (if you must stay in the WinForms API).
Thought that might be the case > If you want to try WPF (keeps you on the desktop): There is no > DateTimePicker in WPF. But you can make your own, someone already has > too. There is a pretty bit set of cool custom controls available > at http://j832.com/bagotricks/. <http://j832.com/bagotricks/> > Included in this download is the source code. There are two different > types of date picker controls. The guy who did them has limited his min > date to 1753 as well, but since you have the source code you can change > that. I'll have a look. > Another options is to use Asp.Net (you will have to build a web > application): There is a Calendar control in that you can simply drag > and drop on a page. It supports a lot of customization for looks, but > most importantly it will go back far before 1753. I didn't run any tests > to see just how far back, the furthest I have tested is Jan 1, 1400. No. Not building a web application. This is for a genealogical transcription program that runs on the desktop. Thanks for all the information. Guess I'll just have to have a go at building my own control from scratch. Oh well. That'll add a week or so to the project! -- Regards, Mike Fry Johannesburg. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://cm.megasolutions.net/forums/default.aspx -~----------~----~----~----~------~----~------~--~---
