Support
When you insert the ActiveX Calendar Control in Microsoft Office FrontPage 2003, the default date is set to the date when the page was created. This article describes two methods to set the default date value for the ActiveX Calendar Control.
For a Microsoft FrontPage 2002 version of this article, see 291200.
On the General tab, change the Value box to the date that you want as the default date, and then click OK.
Note The ActiveX Control Properties dialog box contains many other options and parameters that you can change to customize the Calendar Control.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and the tools that are used to create and debug procedures.
Note: You may receive an error message if you copy the examples directly from this article and paste them into FrontPage 2003. The angle brackets (< and >) may appear as escaped HTML code (< and >). To work around this behavior, paste the script into a blank Notepad document, and then copy it from Notepad before you paste it into FrontPage 2003.
<param name="Year" value="2003"> <param name="Month" value="10"> <param name="Day" value="5">
Change the code to look similar to this:
<param name="Year" value="<%=Year(Date())%>"> <param name="Month" value="<%=Month(Date())%>"> <param name="Day" value="<%=Day(Date())%>">
When you locate the page by using HTTP, the ASP code automatically creates the default date based on the current date.
Microsoft Knowledge Base Article – 825492
Enjoy hassle–free, expert dedicated Windows server hosting from Fpweb.net.