<! ---// MY disclaimer. I do not own stock in or am I affiliated with Microsoft in any way. I really don’t even use MS Outlook, just thought this was a really easy way to integrate a tried and true application in your applications.//--->

I was looking at all the different calendar/planner apps available and thought there must be an easier way (with out paying someone else to code it). And there is and it only takes 6 lines of code!!!!

Let’s go over the prerequisites for using this method. (2 must haves)
    1. The end user must be using Internet Explorer
    2. The end user must have MS Outlook on their machine.

Q. Why would I use this if it is limited to IE only?

A. Well this probably be used primarily for Intranet applications and the most users in an Intranet are running MS OS and have MS Office installed. Also you get the power of MS Outlook with 6 lines of code. And it would be nice to have a button integrated in the company Intranet “menu bar” that the end user could click and go directly to their calendar. So if they are reading a company memo that says “meeting Tuesday at 6:00 they could click the link and bam!!!! they are in their appointment book adding info that they need in an environment they praobly already use and are comfortable with.

OK here is all you gotta do to integrate the power of MS Outlook………

<!---userCalendar.cfm--->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>
User Calendar</title>
</head>

<body>
    <object classid="clsid:0006F063-0000-0000-C000-000000000046"
                 id=
"ViewCtlFolder"
                width=
"100%"
                height=
"400px"
                codetype=
"application/x-oleobject"                 
                codebase=
"http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">

        <param name=
"Namespace" value="MAPI">
        <param name=
"Folder" value="Calendar">
        <param name=
"Restriction" value="">
        <param name=
"DeferUpdate" value="0">

    </object>
</body>
</html>

 

<! --- That’s it, now go out there and push MS on everyone you see….resistance is futile!!!!-->

About This Tutorial
Author: Michael "Newkirk" MacDonald
Skill Level: Beginner 
 
 
 
Platforms Tested: CFMX
Total Views: 107,241
Submission Date: February 07, 2005
Last Update Date: June 05, 2009
All Tutorials By This Autor: 5
Discuss This Tutorial
  • This is great. Can somthing similar be set up so that a user generate list from a database query coulbe imported into their outlook distribution list?

  • This is good infomation but what I was looking for is for the user to add an event time and day to their Outlook automatically on click instead of viewing Outlook. It would look like: Hi Folks, this event is on Saturday June 10, 2007, click (LINK) here to add to your Outlook as a reminder.

  • This is great .. I need to let all ther users to go to the same Oulook calender .. a calender that is safed on the server. Please help me .. it is urgent.

  • This is great .. I need to let all ther users to go to the same Oulook calender .. a calender that is safed on the server. Please help me .. it is urgent.

  • Is this tool also available for tasklists and email?

  • Excellent tutorial. This opens up a LOT of new uses for developing applications!

  • This is great! Can you give some advice on how to allow other work stations on the same network to view one (same) Outlook calendar?

  • Thought I was filling out the "email to a friend" piece. Please disregard my last comment as it probablty has no meaning to anyone outside our firm.

  • An Active X Object, looks like it could be very useful in our Outlook application.

Advertisement


Website Designed and Developed by Pablo Varando.