Browse by Tags

All Tags » devmsgteam » Samples   (RSS)
Showing page 1 of 4 (32 total posts)
  • Outlook Object Model : How to programmatically get logged-in user’s CompanyName in Outlook 2003/2007?

    Recently one of my customer updated that they have a requirement to implement the following logic: 1) Get Contact info from GAL or Address book for the specified contact 2) Get Contact information regarding his CompanyName etc. In the scenario, i provided the following suggestions: If you try Outlook 2003 & its prior versions: Using the Microsoft Outlook object model, you can access information that is stored in various address books. For example, you can retrieve information about entries in
    Posted to Le Café Central de DeVa (Weblog) by deva on December 29, 2009
    Filed under: Code Snippets, CDO, GAL, Outlook 2007, MAPI, Outlook 2003, Support Guidelines, Address Book, How to, KB, Outlook Programming, Outlook Object Model (OOM), DevMSGTeam, development, recipient, Property, Outlook, Support Policy, CDO 1.21, .Net Framework, samples, Updates, ExchangeUser, PropertyAccessor, Address, Permission
  • 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
  • Outlook Object Model : Creating Outlook Categories programmatically and assign colors, shortcut keys to that

    In this blogpost, we will try to create the Outlook Categories programmatically using Outlook Object Model API. Also we will assign the relevant colors and shortcuts to that. Whenever we try with Outlook Object Model, it’s relatively simple. '[Code snippet to create Categories] Private Sub CreateCategory()   Dim objNameSpace As NameSpace Dim objCategory As Category ' Obtain a NameSpace object reference Set objNameSpace = Application.GetNamespace( "MAPI" ) 'Add the Category, set its
    Posted to Le Café Central de DeVa (Weblog) by deva on June 23, 2009
    Filed under: Code Snippets, Outlook 2007, Outlook 2003, Outlook Programming, Outlook Object Model (OOM), VBScript, VBA, DevMSGTeam, development, color, Category, samples, Outlook Categories, shortcutkey
  • Exchange Web Services 101 : Let’s get started!

    Want to learn Exchange Web Service but not sure how and from where? Here are the few articles that I share very often with partners and customers who want to learn more about Exchange Web Services. Undoubtedly there is so much information out there and that’s too in such a short span of time. You better start with Inside Exchange Web Services book from MSPRESS and then the rest of the articles can be utilized.   MSPRESS BOOK Inside Microsoft Exchange Web Services http://www.microsoft.com/learning/en/us/books/10724.aspx
    Posted to Jive into Messaging world (Weblog) by Vikas Verma on June 20, 2009
    Filed under: Exchange, Exchange 2007, Search Folder, Exchange Web Services, Samples, DevMsgTeam, Push Notification, Pull Notification, GetItem, ExchangeServiceBinding, GetAttachment, HasAttachment, UpdateItem, SetUserOofSettingsRequest, ExchangeImpersonation, FindFolder, CoolStuff, Announcements, SearchFolderType, EWS Managed API, FindItem
  • HOWTO: Automatically Login to OWA 2007 using HTML + JavaScript

    First thing first, you should understand that this is NOT SUPPORTED & NOT RECOMMENDED solution by Microsoft. This is just a proof of concept that OWA 2007 can be auto login, if you know the username & password of target account. The approach is simple and took me little reverse engineering or OWA’s login page. Owa login page being HTML does a form submit and post the username/password along with few hidden variables and upon receiving those parameters owaauth.dll generate a cookie, assign
    Posted to Jive into Messaging world (Weblog) by Vikas Verma on June 3, 2009
    Filed under: Exchange, Exchange 2007, HOWTO, Samples, Workarounds, DevMsgTeam, Tip Of The Day, CoolStuff
  • HOWTO: EWS: Get OOF State for Self or any user in your organization

    First thing first, this is just for demonstration purpose and might *not* be a supported solution by Microsoft. The setting we are reading from are hidden messages and not documented anywhere. I had to reverse engineer it for demonstration purpose. Objective : To get OOF State of any user in your organization. Challenges: You might ask me why not use GetUserOofSettings to query user’s OOF status with the help of Exchange Impersonation? This is due to the limitation of EWS’s GetUserOofSettings/SetUserOofSettings
    Posted to Jive into Messaging world (Weblog) by Vikas Verma on May 29, 2009
    Filed under: Messaging, Exchange 2007, HOWTO, Exchange Web Services, Samples, Workarounds, DevMsgTeam, GetItem, ExchangeServiceBinding, SetUserOofSettingsRequest, ExchangeImpersonation, CoolStuff, Restrictions, FindItem
  • HOWTO: WebDAV: Send mail with Custom Form and set properties

    This is going to be a very simple sample of how you can send an email with custom properties set and also change the message class so that it render on outlook as Custom Form. Prerequisites: A custom form must be published with same class name to render the email properly. How it works… Step 1) It drop an email in the drafts folder of user Step 2) Patches the properties to set Message Class & other properties, even including with special characters in name like Spaces and ‘/’ Step 3) Drop the
    Posted to Jive into Messaging world (Weblog) by Vikas Verma on May 22, 2009
    Filed under: Exchange, Messaging, HOWTO, CDOSYS, WEBDAV, Samples, Windows Live Writer, DevMsgTeam, CoolStuff
  • Searchfolder created from EWS is not displaying items falling under criteria within Outlook

    I have been working on different SearchFolders cases lately where customers were trying to create SearchFolder using EWS. Working on those issues has uncovered a limitation of Outlook (I tested it on 2007, but may exist with earlier versions as well) I created the search folder using the following XML <? xml version ="1.0" ? > < CreateFolderType xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd ="http://www.w3.org/2001/XMLSchema" > < ParentFolderId
    Posted to Jive into Messaging world (Weblog) by Vikas Verma on April 9, 2009
    Filed under: Exchange, Exchange 2007, Search Folder, HOWTO, Exchange Web Services, Samples, DevMsgTeam, ExchangeServiceBinding, CreateFolderType, SearchFolderType
  • HOW TO: Create SearchFolder to search for Custom Properties using EWS

    Here is a quick sample if you are looking at creating a search folder using EWS which will look for Custom Property. Here we are looking for a custom property named “EmployeeID” and make sure that the property exist and does not have a blank value. public static BaseFolderType CreateCustomPropSearchFolder() { //Base folder type FolderIdType folderID = new FolderIdType(); //create the request that will create a new searchfolder under the finder directory CreateFolderType folderType = new CreateFolderType();
    Posted to Jive into Messaging world (Weblog) by Vikas Verma on April 9, 2009
    Filed under: Exchange, Exchange 2007, Search Folder, HOWTO, Exchange Web Services, Samples, DevMsgTeam, ExchangeServiceBinding, CreateFolderType, SearchFolderType
  • HOWTO: Query information related to ProgID & CLSID, verify where the image is loaded from Disk.

    Ever copied a DLL from one system to another and registered it using RegSvr32.exe? or in other words ever created a DLL hell situation? Its easy and dirty at the same time to copy-paste DLL between systems and register them using regsvr32.exe Often you copy-paste, register DLL from temporary folders or may be desktop and then later delete the DLL or move to other folder without unregistering/re-registering it. Stop right there!!! You are creating a problem for yourself. Every time you register a
    Posted to Jive into Messaging world (Weblog) by Vikas Verma on April 9, 2009
    Filed under: CDOEXM, CDOEX, CDO, CDOSYS, Samples, Workarounds, DevMsgTeam, Tip Of The Day, CoolStuff, MSXML, VBScript
1 2 3 4 Next >

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