|
|
Browse by Tags
All Tags » DevMsgTeam » Outlook Programming (RSS)
Showing page 1 of 5 (45 total posts)
-
Earlier i had a requirement, how to obtain Proxy addresses for a specific user programmatically'; also they preferred to do this by using Outlook Object Model API. Please Note: The ExchangeUser object does not directly expose the proxy addresses for the user. However, you can use the PropertyAccessor object to obtain the MAPI property PR_EMS_AB_PROXY_ADDRESSES . This property is a multi-valued string property that contains all the foreign addresses for a given user. Here is a simple code snippet,
Posted to Le Café Central de DeVa (Weblog) by deva on December 30, 2009
Filed under: Outlook 2007, MAPI, Outlook Programming, Outlook Object Model (OOM), DevMSGTeam, Programming, development, MAPI Property, Outlook, ExchangeUser, PropertyAccessor, Proxy Address
-
In the Publish Form As dialog box, when you type a name in the Display name field, you will notice that the Form name field reflects the display name by default. You can leave the form name to be the same as the display name or you can change the form name. The display name will be the caption at the top of your form. The display name will also be used to construct the name under which your form will be published. When you publish your form, the display name will be listed in the Choose Form dialog
Posted to Le Café Central de DeVa (Weblog) by deva on December 29, 2009
Filed under: Outlook 2007, MAPI, Outlook 2003, Outlook Programming, Custom form, Customization, Outlook UI, DevMSGTeam, development, MAPI Property, Outlook Forms, Outlook, Outlook 2010, form definitions, Message Class
-
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
-
In Outlook, custom forms are typically published to a forms library so that only one copy of a form is stored on your computer. Individual items contain a Message Class field that indicates which form to use to display the data that is contained in the item. When you publish custom forms to a forms library, Microsoft Exchange Server-based computers and Outlook use considerably less resources and bandwidth because the form itself does not need to be stored within each individual item. Considerations
Posted to Le Café Central de DeVa (Weblog) by deva on December 16, 2009
Filed under: Exchange Server 2007, Exchange Server 2003, Outlook 2007, Outlook 2003, Outlook Programming, Outlook Object Model (OOM), Custom form, Outlook UI, DevMSGTeam, Exchange System Manager, Public Folder, Folder, Publish, Outlook Forms, Organizational Forms Library, Exchange Server, Outlook, one-off form, Outlook 2007 SP2, Outlook 2010, Exchange, Folder Forms Library, form definitions, deploy, Personal Forms Library
-
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
-
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
-
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
-
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
-
Recently one of my customer reported (we used to see this is many of the developer have is that their assembly does not execute as expected in non-development boxes – why it so?) that initially they tried they created VSTO Outlook Add-in project solution with the helps of Visual Studio 2005. But when they move it to another machine it fails to load. In these type of general troubleshooting steps, you can check couple of relevant things, as i found in the blogpost : Network rule is correct – Don’t
Posted to Le Café Central de DeVa (Weblog) by deva on September 3, 2009
Filed under: VSTO, Add-in, Outlook Programming, DevMSGTeam, Policy, CASPOL, debug, VS2005, Outlook, LocalIntranet, FullTrust, policy rule, groups, MyComputer Zone, CLR, Network rule, Production Environment, Development Environment, not working, fails, Typo, Error, Errorneous
-
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
1
|
|
|