I found a very good example of the use of the Calendar control that works with IE 5 and above. It should fit the bill for anyone with an intranet that has control of the server.
The one issue that remains is that it gives a warning that the control is not script safe, but once responded to, does allow the functions to work.
Follow this link to see it, then view the source to see how it works. It makes use of the behavior resource which exists as a seperate file, you can download both for use in studying.
If you have trouble with following it or getting it, let me know via email at the following address: support@hgworks.com.
What I need help with is how to make the DTPicker control work within a Visual FoxPro v.6.0 environment. I can't seem to get the starting date value set for today's date. The control examples I've seen only illustrate how to use it as a data bound control. What I want is to use it to validate and accept user input for a date field to pass to a subsequent report query. Can somebody shed some light on this for me?