ASP Inline
Corporate Calendar
Documentation
By: Aaron B.
http://www.aaronoutpost.com
Copyright© 2003-2005 _-Squire-_ Creations All Rights Reserved.
Installation
Below this you will find several database connection options.
How to switch which driver to use
The Apostrophe Mark declares a comment. You will notice only one Connection driver below does not have an Apostrophe Mark before it. It is the Driver that is being used. Place an Apostrophe Mark before it to and take it away for the driver that you wish to use.Below you will notice the connection that is used by default. This is for a OLEDB Jet 4.0 Access 2000/2002 connection which is used by most servers. The first strConnCal does not contain an apostrophe mark in front of it. It is the one in use. The second uses the same connection but allows you to enter the physical address of the calendar database. This allows you to place the database in a separate location and rename the file to increase security. You will also use this database connection if you include the mini calendar into your existing website.
'For Access 2000/2002
strConnCal = "Provider=Microsoft.Jet.OLEDB.4.0; JET OLEDB:database; Data Source=" & Server.MapPath("admin/calendar.mdb")
'strConnCal = "Provider=Microsoft.Jet.OLEDB.4.0; JET OLEDB:database; Data Source=C:\inetpub\wwwroot\Calendar\admin\calendar.mdb"