Browse by Tags

All Tags » devmsgteam » sample   (RSS)
Showing page 1 of 3 (23 total posts)
  • EWS has "More Happy" now - EWS Managed API and EWSEditor.

    Want to make working with Exchange Web Services (EWS) much easier to work with? There is a new API and new tool which can help. No matter which way you are doing or going to be doing EWS calls, you should be familiar with both the Exchange Web Services Managed API and EWSEditor. Exchange Web Services Managed API: The Exchange Web Services Managed API makes life much easier since it wraps a lot of calling code and logic which is needed to successfully execute EWS calls. No matter how you are doing
    Posted to Dan's WebDAV 101 (Weblog) by danba on November 10, 2009
    Filed under: EWS, sample, DevMsgTeam, EWS Managed API, Exchange Web Service Managed API, exchange managed API, EWSEditor, learn EWS, debug EWS, ews 2010, Exchange 2010
  • HowTo: Create a mailbox for an existing user, Create a user in AD, List AD User info.

    //====================================================================================================== // CdoexmMailboxUtil - // Exchange Mailbox and user account creation sample. // // This sample demonstrates the following: // Creating a user account in AD // Mail Enable an existing user. // List information on an existing user. // Note: This code is provided as a sample only, so you need to test and take responsibility // of the code and any of its possible actions before usage. Being a sample,
    Posted to Dan's WebDAV 101 (Weblog) by danba on August 19, 2009
    Filed under: CDOEX, Exchange, C#, cdoexm, sample, DevMsgTeam, mail enable, activeds, create mailbox
  • Howto: Mail Enable, Mail Disable and view Mail settings for a Public Folder with CDOEX and CDOEXM

    If your living in a pre Exchange 2007 Powershell worlds and want to mail enable or disable public folders, you may come to the point where you will be needing to write some CDOEX and CDOEXM code to do what you want. Below is a C# sample console application which will allow you to mail enable, mail disable and view mail settings on a public folder. //====================================================================================================== // ExchangePfUtil - // Exchange Public Folder
    Posted to Dan's WebDAV 101 (Weblog) by danba on August 14, 2009
    Filed under: CDOEX, Exchange, 2007, C#, cdoexm, sample, 2003, DevMsgTeam, mail enable, mail disable, maildisable, mailenable
  • Howto: Set multiple extended properties on a folder using raw XML for EWS with a POST

    Hmmm, there are very few samples on setting multiple extended properties on folders using a POST to EWS... so, I thought I would blog one. This sample can be used with: http://blogs.msdn.com/webdav_101/archive/2009/02/27/howto-post-xml-to-ews-using-exchangeservicebinding-credentials.aspx Note the following: The version is set. Each property being set is done under a separate SetFolderField node. <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    Posted to Dan's WebDAV 101 (Weblog) by danba on February 27, 2009
    Filed under: Exchange 2007, EWS, sample, folder, xml, http, exchange web services, DevMsgTeam, post, extended property
  • Example: Populate a ListView with a list of attachments using EWS

    I thought it would be fun to blog another sample of getting a list of attachments using EWS. So, here is a handly method for populating a list of attachments. // ----------------------------------------------------------------------------------------- // GetFileAttachmentsListLv // Sets a listview to the attachments on an item. // Returns number of attachments. // ----------------------------------------------------------------------------------------- public static int GetFileAttachmentsListLv(
    Posted to Dan's WebDAV 101 (Weblog) by danba on January 10, 2009
    Filed under: attachments, EWS, sample, DevMsgTeam, attachment list
  • What's covered by support? General questions and answers.

    Customers sometime have a misunderstanding of what is covered when supported is provided. So, I’ve put together a link covering common areas for all to read. I would suggest starting with the link below to get an understanding on what is supported to understand some of the basics of supportability. OFF: Getting Support for Microsoft Office Solutions http://support.microsoft.com/default.aspx?scid=kb;EN-US;234322 Incidents: Here is some info on what is supported as far as incidents – ie break-fix.
    Posted to Dan's WebDAV 101 (Weblog) by danba on September 3, 2008
    Filed under: HOWTO, sample, support, contact, samples, DevMsgTeam, incident, mcs, Microsoft, lifecycle, advisory, webdav101blog
  • Howto: Read Attachments - Webdav: System.Net.HttpWebRequest vs System.Net.WebClient

    I’ve run into issues with using a GET to read large attachments using HttpWebRequest. Because of this, I use System.Net.WebClient instead. Big attachments will have an error thrown back with HttpWebRequest, however it’s possible to GET the smaller ones. So, since System.Net.WebClient seems to work just as good, I use it for getting attachments. I use HttpWebRequest for everything else. Public Function SaveAttachmentToFile(ByVal sUri As String, ByVal sFileName As String) As Boolean Dim bRet As Boolean
    Posted to Dan's WebDAV 101 (Weblog) by danba on August 14, 2008
    Filed under: HOWTO, attachments, sample, attachmentment, DevMsgTeam, System.Net.WebClient, HttpWebRequest, large attachment, System.Net.HttpWebRequest, WebClient, webdav101blog
  • Comparing strings - a few samples

    I thought I would share some simple sample code which is useful for finding problems in string content. Here are three methods I wrote which are useful to see whats in a string and differences between strings. I use these with a simple program which uses two text boxes for pasting text into and a third window for displaying results. Please note that I'm not using stringbuilder here on purpose - I do avoid it when writting code which i want to be as simple and language generic as possible (I would
    Posted to Dan's WebDAV 101 (Weblog) by danba on June 6, 2008
    Filed under: C#, Csharp, unicode, string, sample, compare, GetStringStats, hex dump, DumpString, samples, CompareStrings, differences, compare strings, DevMsgTeam, webdav101blog
  • Howto: Get Free/Busy Information with WebDAV/HTTP

    CDO 1.21, CDOEX, etc can get Free/Busy information, however WebDAV cannot directly. You may use a GET against OWA to get this information. A GET against an OWA URL is really not a WebDAV call… it’s really just plain HTTP GET call – you just need to be sure that the URL is correctly formatted. Most OWA URLS being called in this manor are not supported, however this is one of the few exceptions. Here are some things to be aware of: · Free/Busy information is stored in the public store under the NON_IPM_SUBTREE
    Posted to Dan's WebDAV 101 (Weblog) by danba on April 16, 2008
    Filed under: OWA, WebDAV, VBS, oof, C#, free, freebusy, free busy, get, sample, .net, url, http, out of office, out of facility, scheduling, free/busy, oof vb.net, DevMsgTeam, webdav101blog
  • Howto Delete Attachments with WebDAV

    The DELETE verb only works on Exchange 2003 SP1 - it will not work on any earlier version/service pack. CDOEX, CDO 1.21, Extended MAPI, etc can do this on Exchange 2000 or 2003. One possible work-around is to read the message stream using a WebDAV GET, modify the stream to remove the attachment and then do a PUT to write it back. You will want to watch-out to be sure that you do not lose any custom properties which you have set. Also, you may use an unsupported OWA command to delete the attachment
    Posted to Dan's WebDAV 101 (Weblog) by danba on March 12, 2008
    Filed under: HOWTO, OWA, Exchange, attachment, delete, extension, single-sign-on, single sign-on, sample, cmd, editattach, webbdav, DevMsgTeam, isapi filter, webdav101blog
1 2 3 Next >

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