Hi Frank, Sorry took me so long to get back. I've been out of office.
Hopefully you will have figured out where to get the calendar control by now, however, in case you haven't, try the code below. <OBJECT classid="CLSID:0006F063-0000-0000-C000-000000000046" codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB# ver=9,0,0,3203" id="objInbox_WPQ_" style="width: 100%;height:320"> <PARAM NAME="Folder" VALUE="Calendar"></PARAM> </OBJECT> You will have to do some further Params in order to connect to your shared resource calendar object (your room for booking) but this is pretty much all you will need. No need for further programming of the meeting scheduling etc as this is already built into the Calendar control. HTH, Dave -----Original Message----- From: Frank Mamone [mailto:[EMAIL PROTECTED]] Sent: 24 April 2002 20:09 To: CF-Talk Subject: Re: Displaying the clients outlook folders Dave, The sample link you sent requires a login so I didn't really see it. When you say ActiveX control are you referring to the Outlook Viewer you mentioned in the previous message? Where do I get/access the Outlook Calendar control and would I be able to add appointments programatically with it? Thanks ----- Original Message ----- From: "Dave Wilson" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, April 24, 2002 12:07 PM Subject: RE: Displaying the clients outlook folders > 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 > > > > > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. 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

