-
help! can't get the view from a ContainerRenderer in CDO
hi all,
i'm trying to get a calendar view with MS Exchange Server and Outlook using
CDO. the following is my code:
strProfileInfo = "TESTINGBOX" & vbLf & "SWUProximo"
Set objSession = Server.CreateObject("MAPI.Session")
objSession.Logon "", "test", False, True, 0, True, strProfileInfo
objSession.SetOption "calendarstore", "outlook"
Set objRenderApp = Server.CreateObject("AMHTML.application")
Set objCRenderer = objRenderApp.CreateRenderer(3)
ObjCRenderer.TimeZone = 10
Set objCalendar = objSession.GetDefaultFolder(0)
objCRenderer.DataSource = objCalendar.Messages
Set objView = ObjCRenderer.Views("Daily Calendar")
but objView is still nothing after the above code has been run. why?
thanks in advance
best
simon
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks