Martin's Web Calendar

Introduction

The purpose of this freeware program is to create the HTML text for one or more calendar months spanning a user specified time. The resulting text can be edited to enter events in the monthly calendar templates.

Although the creation of a calendar is not difficult, it is tedious and can be error prone. I hope this program will save time for those faced with this task.

Programming Language

The program is written in MS Visual Basic V3.0.

Hardware/software requirements

The program runs under Windows and has been tested under Version 3.1 and Windows 95/98. Being written in VB Version 3.0 it requires that the following supporting programs are available, normally in the C:\WINDOWS\SYSTEM directory:-

VBRUN300.DLL (398,416, 12th May 1993)
CMDIALOG.VBX (18,688, 28th April 1993)
GRID.VBX (44,656, 28th April 1993)

The figures in brackets indicate the size and creation dates of the files on my machine. These files are copyright by Microsoft, but are freely distributable under the terms of the VB licence.

Just about any computer running Windows should be capable of running the program although a screen resolution of 800 x 600 or better is assumed.

Files Supplied

The executable program is supplied as MWEBCAL.ZIP, circa 12KB bytes. This is for those who already have the .DLL and .VBX files.

If you do not have them, then download MWCALL.ZIP, circa 275KB, which as well as the .EXE file has the supporting .DLL and .VBX files.

Also included with each .ZIP file is this web page.

Installation

Installation of the program is so straightforward that no set-up program is necessary. If you do already have the above .DLL and .VBX files then just download MWEBCAL.ZIP and UNZIP it into any convenient directory.

If you don't have them then download MWCALL.ZIP. UNZIP it then place the .DLL and .VBX files in your C:\WINDOWS\SYTEM directory and the MWEBCAL.EXE in any convenient directory.

In Win 3.1 you can, if you wish, add an icon to Program Manager by using the Menu option File then New...
In Win95/98 right click on the desktop, select New then Shortcut and click Browse or enter the location of MWEBCAL.EXE

Use - Standard

The first and last month/year default to the current month and year. These can be changed using the drop-down lists for the months and typing the four-digit year into the text-boxes. The resulting monthly calendar layouts can then be previewed using the "Preview " button before clicking the "Save HTML" button which brings up a standard Windows "Save As" dialogue.

Please note, there are no nag screens!

In standard mode the program allows selection of the English, French or German language via the Language option buttons.

The Week Start option buttons allow the left hand column of the HTML calendar to be either Sunday or Monday as the start of the week.

The program is usable for any period between 1800 AD to 2200 AD and is year 2000 compliant.

Use - Other Languages

If you wish to change any of the terms used for months and days, click the "Other " button in the Language option box, then enter the terms you wish to use in the Month Names and Day Names columns. This will also allow the use of fonts other than the standard ANSI one. To save these entries, click the "Save s/up" (Save set-up) button and enter a file name, preferably using the file extension ".mwc ". To recall these definitions click the " Other " button in the Language box then the "Load s/up" (Load set-up) button and select a file. This will restore the month/day names as well as the Sunday/Monday week start setting.

Editing the HTML

To add entries to the calendar simply insert the required text into the resulting HTML text. For instance:-

<TD>2<BR> Hair cut at 3:30</TD>

There are, of course, many alternatives available here, limited only by the users imagination.

The text produced includes the tags:-

<HTML> <BODY BGCOLOR="#FFFFFF">
.
.
.
</BODY> </HTML>

The user will probably wish to add <TITLE>, <HEAD> and other tags although the output HTML does constitute a valid HTML page.

Sample calendars

Below are links to some sample calendars. Note that if the requested time span involves more than one year then the year is appended to each month heading.

Use your browser's "Back" button to return to this page.

Sample 1, program output

Sample 2, program output

Sample 3, edited program output

Validation

Outputs from the program have been checked on several independent HTML validators and no errors were reported.

Copyright Matters

The executable program may be distributed freely provided it is accompanied by this HTML page. The only other condition is that by using the program in any way you accept that the author shall not be responsible for any errors or other problems arising from its use.

If you would like the source code then please arrange to send US$15 or UKP10 by contacting the author, martin@wmeadow.demon.co.uk.

If you think I could write code for your own applications, just let me know! I'm a freelancer fluent in Access, VB, Excel, Powerpoint...



Return to main index page





Martin Trump
January 2000