Browse by Tags

All Tags » devmsgteam » development   (RSS)
Showing page 1 of 5 (49 total posts)
  • How to create recurring tasks using Exchange Web Services for Exchange 2007/2010?

    Earlier i got a chance to play around creating recurring tasks. I followed the article from MSDN and it worked like charm for me. public TaskType CreateRecurringTask() { // Create the task item and set property values. TaskType task = new TaskType(); task.Subject = "Recurring Task" ; task.Body = new BodyType(); task.Body.BodyType1 = BodyTypeType.Text; task.Body.Value = "Occurs every week" ; task.StartDate = DateTime.Now; task.StartDateSpecified = true ;   // Create the regeneration
    Posted to Le Café Central de DeVa (Weblog) by deva on December 8, 2009
    Filed under: Exchange Web Services (EWS), Exchange Server 2007, task, DevMSGTeam, development, Exchange 14, ExchangeServiceBinding, Exchange Server 2010, TaskItem, CreateItem, Exchange Programming, Exchange
  • MAPI : When we try to access Public Folder via ASP application throws MAPI_E_FAILONEPROVIDER

    Recently one of my customer updated that they get an different issue with their ASP application. This application running on their Web server that uses MAPI to read the Contacts folder in the Public Folders from Exchange Server 2003 SP2 machine. The user can retrieve his email in outlook and browse the public folders as he is used to, but when this user want to use the ASP page that reads the public folder he fails. Customer receives the following error: bstrPublicRootID = objInfoStore.Fields.Item(&H66310102).Value
    Posted to Le Café Central de DeVa (Weblog) by deva on September 30, 2009
    Filed under: Store, Exchange Server 2003, CDO, MAPI, Errors, DevMSGTeam, MAPI Error, Public Folder, development, MAPI Property, debug, permissions, Exchange Server, Authentication, CDO 1.21, ASP, Exchange Programming, Error
  • Playing with Journal Items & Outlook Object Model # 3

    Reading Journal attachments using Outlook Object Model: This time, i tried to read all the email and their attachments using Outlook Object Model. I used the following code snippet to do this. 'Code Snippet : How to retrieve Outlook attachments using Visual Basic for Application (VBA) Dim omailitem As Outlook.JournalItem Dim myJournal As Outlook.Items Dim oattach As Outlook.Attachment   Set myNamespace = Application.GetNamespace( "MAPI" ) Set myJournal = myNamespace.GetDefaultFolder(olFolderJournal).Items
    Posted to Le Café Central de DeVa (Weblog) by deva on September 28, 2009
    Filed under: Outlook 2007, Outlook 2003, Outlook Programming, Outlook Object Model (OOM), VBA, DevMSGTeam, Programming, development, OLE, Attachment, Outlook, Journal, Journal Programming
  • Playing with Journal Items & Outlook Object Model # 2

    After created couple of journal items in my test lab, i thought this time i want to play around with the Journal items. Also i want to try the following programmatically: 1) iterate all the available journal items 2) Restrict the values with a (if the Lastmodificationtime > ‘23/9/2009’) specific time frame For this i used Items( index). Here index is the index number of a journal entry or a value used to match the default property of a journal entry, to return a single JournalItem object from
    Posted to Le Café Central de DeVa (Weblog) by deva on September 23, 2009
    Filed under: Code Snippets, Outlook 2007, Outlook 2003, Outlook Programming, Outlook Object Model (OOM), VBA, DevMSGTeam, development, Outlook, Restrict, Macro, Journal, Journal Programming
  • Playing with Journal Items & Outlook Object Model # 1

    I want to share my research (that i tried to play around with Journal items) with respect to Outlook Object Model API to you. How to create the new Journal Item programmatically using Outlook Object Model? Now, we can try how we can create a new Journal Item. Code snippet: Creating a new Journal Item with Outlook Object Model & VBA 'Creates a new journal item Dim objMail As Outlook.JournalItem 'Create journal mail item Set objMail = Application.CreateItem(olJournalItem) With objMail .Body = "First
    Posted to Le Café Central de DeVa (Weblog) by deva on September 23, 2009
    Filed under: Code Snippets, Outlook 2007, Outlook 2003, Outlook Programming, Outlook Object Model (OOM), VBA, DevMSGTeam, development, Outlook, Application, Journal, Journal Programming
  • Outlook Object Model : Using Restrict method to get contacts based on specific categories

    Earlier i was working with one of the customer, where he wants to use Outlook Object Model to, - retrieve the default contact folder items - restrict on the retrieved items - get the restricted items and gets its values – Full Name, Categories, FileAs… etc Here is the way that i tried it – Code Snippet for your reference: Dim oOutlook As Outlook.Application Dim oNameSpace As Outlook. NameSpace Dim oFolder As Outlook.MAPIFolder Dim oContacts As Outlook.Items Dim oContact As Outlook.ContactItem Dim
    Posted to Le Café Central de DeVa (Weblog) by deva on September 3, 2009
    Filed under: Outlook Programming, Outlook Object Model (OOM), contacts, DevMSGTeam, development, Category, Outlook, Application, Outlook Categories, FileAs, Filter, Restrict
  • Reference : Where you can get MAPI reference, samples for Outlook 2010?

    You can get the MAPI reference for Outlook 2010 using MSDN: http://msdn.microsoft.com/en-us/library/cc765775(office.14).aspx MAPI for Outlook 2010 provides a set of interfaces, functions, and other data types to facilitate the development of Outlook 2010 messaging applications. Applications and transports use MAPI to manipulate e-mail data, to create e-mail messages and the folders to store them in, and to support notifications of changes to existing MAPI-related data. Something related, that if
    Posted to Le Café Central de DeVa (Weblog) by deva on July 29, 2009
    Filed under: Do you know, MAPI, DevMSGTeam, development, functions, interfaces, Documents, Reference, samples, Outlook 2010, Office 2010 Series
  • How to : Determine the version number, build number of Exchange Server 2007 using cmdlet?

    With continuation of my previous article , it just points out to find how we can get by using UI(User Interface like snap-in, MMC Console, ESM..etc)’s. This time, let me try something different with Exchange Server 2007 (i tried with Exchange Server 2007 SP1 RUx) with its powershell/cmdlet. In order to get the version number, i tried like this to obtain the attributes of the server, > Get-ExchangeServer | Select ExchangeVersion, AdminDisplayVersion This provides the ExchangeVersion and AdminDisplayVersion
    Posted to Le Café Central de DeVa (Weblog) by deva on July 29, 2009
    Filed under: Exchange Server 2007, cmdlet, Powershell, Exchange Management Shell (EMS), How to, DevMSGTeam, development, Exchange Programming, Service Pack, Build, version
  • Outlook Object Model: How to identify existing categories and updating/adding new categories in Outlook 2007 using programmatically?

    With continuation of my previous–related blog post , I got this task to find out the way how to identify the existing categories and updating/adding new categories in Outlook 2007 using Outlook Object Model programmatically. I tried the following to find whether the category exists or not: Public Function CategoryExists(categoryName As String ) As Boolean   Dim category As Outlook.category   Set category = Application.Session.categories(categoryName)   If Not (category Is Nothing )
    Posted to Le Café Central de DeVa (Weblog) by deva on July 22, 2009
    Filed under: Code Snippets, How to, Outlook Programming, Outlook Object Model (OOM), DevMSGTeam, development, color, Category, Outlook, Outlook Categories, shortcutkey
  • KB: Why OWA or EWS application doesn’t show yearly recurring appointment?

    While working with one of my customer we noticed that the yearly recurring appointment doesn’t show in Outlook Web Access or Exchange Web Services(EWS) application. Customer created a monthly or yearly recurring appointment. He set the request to occur on the second, third, or fourth weekday of a month. But, whenever we use Outlook Web Access (OWA) client or customer’s Exchange Web Service (EWS) application to view this request, the request is set to occur on the first weekday of the month; but strangely,
    Posted to Le Café Central de DeVa (Weblog) by deva on July 22, 2009
    Filed under: Exchange Web Services (EWS), Outlook 2007, KB, meeting request, appointment, DevMSGTeam, Programming, development, OWA, EWS, EWS Troubleshooting, problems, Rollup, Recurring Appointment, Service Pack
1 2 3 4 5 Next >

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker