Thanks Frank, I've already got the client's 'inbox/sent items/draft' folders displaying using the outlook activex control, as well as the outlook calendar and the task list. It all works rather nicely. You can see an example of this at http://demo.cws.intrafinity.com/gateway/user_login.cfm - This is NOT my site. it is merely where I got the idea from.
Thinking further into your room booking/meeting setup application. I'm presuming that you are implementing the room as a shared resource from your Exchange server. which is consequently available to each of your users via Outlook Calendar. If this is the case, then you could simply use the Outlook Calendar Activex control to handle your application requirements, by having it only display the calendar for the "room" resource. Dave -----Original Message----- From: Frank Mamone [mailto:[EMAIL PROTECTED]] Sent: 24 April 2002 16:54 To: CF-Talk Subject: Re: Displaying the clients outlook folders Dave, You'd have to use ActiveX if you have a single browser environment. Here is reference I found in the archives. ----------------------------------------------------- About integrating CF with Exchange/Outlook... Collaboration Data Objects (CDO) runs on the server side, and is an interface to Exchange's Messaging Application Programming Interface (MAPI) model. You can find information about CDO at msdn.microsoft.com - one thing that keeps us from using it, though, is that the CF server would have to be running as an account that has access to any Exchange folder it needs to work with. And we probably cannot get that kind of access to the Exchange server. One thing we've looked at is to access a single user's Exchange/Outlook folders on the client side. Outlook can be automated in a similar way to Word or Excel, using ActiveX objects. If a user has Outlook installed, they already have the ActiveX objects installed - all you need to do is script them with JavaScript or VBScript. Information about the Outlook object model for scripting can be found in Outlook's Help when you're in the Visual Basic Editor. Here is some sample code for scripting Outlook in JavaScript. This code adds an appointment to the current user's default calendar. Haven't done it yet, but I'm assuming you could put this in a CFML template and replace data using CFOUTPUT and #'s: var olFolderCalendar = 9; var olAppointmentItem = 1; function AddAppointment() { // Get the Outlook application and Exchange namespace objApp = new ActiveXObject("Outlook.Application"); objNS = objApp.GetNameSpace("MAPI"); // Get the user's default calendar folder objFolder = objNS.GetDefaultFolder(olFolderCalendar); // Add an appointment item to the folder objItem = objFolder.Items.Add(olAppointmentItem); // Set properties for new appointment item objItem.Start = "20 Aug 2001 2:00PM"; objItem.End = "20 Aug 2001 3:00PM"; objItem.Subject = "A new appointment"; objItem.Body = "This is the body text of the appointment."; // Save the appointment item objItem.Save(); } ----- Original Message ----- From: "Dave Wilson" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, April 24, 2002 6:49 AM Subject: Displaying the clients outlook folders > Hi all, > > I've successfully connected to Outlook using COM on the server, but this > only displays the contents of the folders on that server's instance of > outlook. I want to be able to display the messages, calendar, notes etc > residing on the client machine, without using Exchange server. I've seen > this done on another site and wondered if anybody here knew how to do it. > > Thanks, > Dave > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

