How to add a script to the ActiveX Calendar Control in FrontPage 2000 (205686)
The information in this article applies to:
This article was previously published under Q205686
For a Microsoft FrontPage 98 version of this article, see 194211.
For a Microsoft FrontPage
97 version of this article, see 164620.
SUMMARY The ActiveX Calendar Control provides a way of displaying
calendar-related events on a Web page. ActiveX Controls may be combined to add
greater functionality to your Web pages than would be possible with a single
control. NOTE: Microsoft Office 2000 installs the ActiveX Calendar Control. If
you do not have Microsoft Office installed, the Calendar Control may not appear
in the Pick A Control list.
back to the top
Displaying the Date Selected in a Message Box- Open a page in the Page view of FrontPage.
- On the Insert menu, point to Advanced, and then click ActiveX Control.
- In the Pick A Control list, click Calendar Control 9.0 and click OK.
- Click the HTML tab
- Insert the following code under the <BODY> tag:
<SCRIPT LANGUAGE=vbscript>
<!--
Sub Calendar1_Click()
Call window.alert(Calendar1.Value)
End Sub
-->
</SCRIPT>
- Save the page and preview the page in the
browser
back to the top
REFERENCESFor more information about Microsoft Visual Basic Scripting,
visit the following Microsoft Web site:
back to the top
Modification Type: | Major | Last Reviewed: | 8/15/2006 |
---|
Keywords: | kbActiveX kbScript kbHOWTOmaster KB205686 kbAudITPro |
---|
|