473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Outlook Com access

I'm trying to develop a personal start page on my machine that would
have my outlook calendar on the page. I've seen Konfabulator widgets
that access the Outlook calender and a php class that I could not get
to work for mail at

http://www.programmersheaven.com/art...ogomil/art.htm

Has anyone been able to do this with outlook 2003/winxp/apache/php?
Willing to provide an example?

-Robert

Oct 21 '05 #1
3 2008
If you're willing to use some VBscript on the page a quick way to show any
outlook folder would be to use the outlook view control - activeX solution.

Joe

"Robert Rescot" <ro***********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I'm trying to develop a personal start page on my machine that would
have my outlook calendar on the page. I've seen Konfabulator widgets
that access the Outlook calender and a php class that I could not get
to work for mail at

http://www.programmersheaven.com/art...ogomil/art.htm

Has anyone been able to do this with outlook 2003/winxp/apache/php?
Willing to provide an example?

-Robert

Oct 23 '05 #2
The Outlook View Control is great but it only works in IE... is there
another solution that is cross browser compatible

Oct 25 '05 #3
I'm trying to develop a personal start page on my machine that would
have my outlook calendar on the page. I've seen Konfabulator widgets

I'm feeling generous today... I couldn't get the filter to work in the
time available, so that's an exercise for the reader.
<?php

set_time_limit(0);

// 2005-10-25 sa [go********@nastysoft.com]
// no rights reserved, no refunds

define( 'olFolderCalendar', 9 );
$objOLApp = new COM("Outlook.Application") or die("Unable to
instantiate Outlook");
print "Outlook v" . $objOLApp->Version() . "<br><br>\n";
$objNameSpace = $objOLApp->GetNamespace('MAPI');
$objCalendarFolder = $objNameSpace->GetDefaultFolder(
olFolderCalendar );
$objCalendarItems = $objCalendarFolder->Items();
$objCalendarItems->IncludeRecurrences = 0;
$objCalendarItems->Sort( '[Start]' );

/* OT: SADLY, THIS FAILS TO FILTER ITEMS - ANYONE KNOW WHY? */
$objCalendarItem = $objCalendarItems->Find( '[Start]>="01-Jul-2005
12:00 AM"' );

while( $objCalendarItem )
{
$lngStartDate = $objCalendarItem->Start();
// manually filter - could take a long time...
if( $lngStartDate >= mktime( 0, 0, 0, 6, 1, 2005 ) )
{
$strStartDate = date( 'd-M-Y', $lngStartDate );
$strStartTime = date( 'H:i', $lngStartDate );
$lngDuration = $objCalendarItem->Duration() / 60;
switch( $lngDuration )
{
case 0: $strTimeDuration = $strStartTime . " (Reminder)";
break;
case 24: $strTimeDuration = "all day"; break;
default: $strTimeDuration = $strStartTime . " " . strval(
$lngDuration ) . " hrs"; break;
}
$strSubject = $objCalendarItem->Subject();
print $strStartDate . " - " . $strTimeDuration . " - " .
$strSubject . "<br>\n";
}
$objCalendarItem = $objCalendarItems->FindNext();
}

unset( $objCalendarItem );
unset( $objCalendarItems );
unset( $objCalendarFolder );
unset( $objNameSpace );

unset( $objOLApp );

?>
---
Steve

Oct 25 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Daniel Pope | last post by:
Hello Everybody, I'm preparing for doing a daunting task: to access Out look Microsoft Outlook Express(regardles the operating system and Outlook version) from a Java applet (after the client...
3
by: Kurt | last post by:
Hi We are developing an off-the-shelf software suite for a certain business sector. Most of the program is simply a GUI on top of some .mdb files. Its a .net application written in c# One...
3
by: deko | last post by:
When adding Outlook Appointment Items from Access, should I use: Set ol = New Outlook.Application --or-- Set ol = CreateObject("Outlook.Application") Outlook seems to crash either way. The...
2
by: Snig | last post by:
Hi I'm into creating a web application in C# (.NET Framework 1.1) which would list and manage the outlook tasks. If I try to do this in a Windows Application, it works fine. But there are...
26
by: Tom Becker | last post by:
Is there a way, from Access, to programmatically click the Send and Receive button in Outlook?
2
by: mik.sjoblom | last post by:
Hello, I have developed a Access application that needs to read mail from Outlook, versions on Access and outlook are 2003. In the code i use mapi to connect to outlook. When i tries to read the...
3
by: bobdydd | last post by:
Hi Everybody Access 2000, Outlook 2000 Windows XP I am running the code below to open Microsoft Outlook from a Command Button. It works fine until I tried it on a machine that has Office...
1
by: charliej2001 | last post by:
Hi all My access database has import/export capabiltiy of contact details between outlook. The database is getting big now (1000+ contacts) and so are the outlook address books that have the...
7
by: Dean Spencer | last post by:
Can anyone help? I am importing Emails from Outlook using the following code: Public Function ScanInbox(SubjectLine As String) Dim TempRst As Recordset Dim OlApp As Outlook.Application Dim...
6
by: Kevin | last post by:
In my business, I use Quickbooks extensively for billing and accounting and a custom built Access DB for project management. I recently began using MS Outlooks contacts quite extensively as well...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.