Le Café Central de Deva
... Deva blogs!!
I changed the way of blogging. Re-designed the site & started using the latest Windows Live Writer 2011!! Additionally added Microsoft Translator gadget available @ top of page, so that you can change the page in your preferred language!!
Welcome to Outlook Programming series # 5
In this series, we will learn "How to build an Outlook 2007 Form Region with a Managed Add-In?". I found this wonderful article, wrote by Ryan Gregg, which describes programatically how to build a form region with a Managed Add-in and Outlook 2007 environment. It covers the creation of a sample Outlook add-in that displays transport header information in a form region on e-mail items, along with free downloadable samples...:)
As we know you can create and run forms with form regions without a COM add-in, but using a COM add-in has the benefit of supporting custom business logic or advanced functionality in the form regions.
Note: This article assumes that you have some knowledge of COM add-ins and that you know how to build, deploy, and install a managed COM add-in that is written in Microsoft Visual Basic or Microsoft Visual C#. You should be familiar with the Outlook object model, and should have at least some basic knowledge of the Microsoft .NET Framework and COM interoperability.
Welcome to Outlook Programming series # 4
In this series, we will learn "How to automatically add contacts to Outlook with Visual FoxPro?". I found this wonderful article, which describes programatically how to add contacts to Outlook with Visual Foxpro environment.
As we know Microsoft Outlook is an Automation Server. As such, you can programatically control it from other applications, sending data back and forth...So find the code-snippet which demonstrates how to import the MS Access table data into Outlook's contacts folder.
What is a COM Add-in?
COM add-ins are a feature in Microsoft Office and are supported by all Office programs, including Outlook.
Key benefits of COM add-ins include:
COM add-ins run in-process with the host program, so custom code generally runs faster than code implemented in Visual Basic for Applications.
The basic COM add-in architecture is consistent across all Office programs, whereas in previous versions of Office, each program had its own add-in architecture.
You can create one COM add-in to use with more than one Office program.
In addition to Outlook, you need one of the following development environments to create a COM add-in for Office or Outlook:
Visual Basic 5.0 or later (Visual Basic 6.0 is preferred)
Microsoft Office Developer, which includes the ability to compile a Visual Basic for Applications project into a Dynamic Link Library (DLL)
Any other COM-compliant development environment, such as Microsoft C++ or Microsoft J++
Welcome to Outlook Programming series # 3
In this series, we will learn "How to get Click Event Behavior for Standard Controls?". I found this wonderful article, which describes how the standard controls that are included with Microsoft Office and Outlook respond to the Click event using Visual Basic Scripting Edition (VBScript) on a custom Outlook form.
The Click event is the only event that Outlook supports for controls. However, for some controls the Click event may not fire if the control is bound to a field, or it may not fire at all.
Note: This articles summarizes whether or not the Click event will fire under various circumstances.
Welcome to Outlook Programming series # 2
In this series, we will learn "How to develop a COM Add-in?". I found this wonderful article, which provides an overview of how to create a COM add-in in Outlook
There are many resources and examples about how to implement an Office or Outlook COM add-in.
COM Add-ins Part I: Introducing an Office 2000 Solution for the Entire (Office) Family:http://msdn2.microsoft.com/en-us/library/Aa155767(office.10).aspx
COM Add-ins Part II: Building a COM Add-in for Outlook 2000:http://msdn2.microsoft.com/en-us/library/Aa140126(office.10).aspx
Microsoft Office 2000/Visual Basic Programmer's Guide : Chapter 11: Add-ins, Templates, Wizards, and Libraries:http://msdn2.microsoft.com/en-us/library/Aa189019(office.10).aspx
Developing COM Add-Ins for Microsoft Office 2000:msdn.microsoft.com/library/en-us/dno2kta/html/comaddins.asp
Creating a Microsoft Office 2000 COM Add-in:http://msdn2.microsoft.com/en-us/library/Aa155761(office.10).aspx
Microsoft Knowledge Base Articles
Using Visual Basic
How To Build an Office 2000 COM Add-In in Visual Basic
Comaddin.exe Office 2000 COM Add-In Written in Visual C++
Access Data Retrieval Sample Add-In Available for Download
How to Work With COM Add-ins in FrontPage 2000
The following Microsoft Knowledge Base articles provide information about the key things that you should be aware of when you develop a COM add-in for Outlook:
You Cannot Fully Quit Outlook When You Use a COM Add-in
All COM Add-in Run-Time Errors Must Be Trapped
CommandBars Not Available from Application Object
Welcome to Outlook Programming series # 1
In this series, we will learn "How to automate Outlook from another Program". I found this wonderful article, which provides an overview of programming Outlook using Automation from another program.
We know that automation allows one program to control another program by either issuing commands or retrieving information programmatically. You can use the code examples in this article in Microsoft Word, Microsoft Excel, Microsoft Visual Basic, or any other program that supports Automation.
This article talks about Automation by using Early & Late binding, Outlook Object Model (OOM), sample code for common programming tasks etc.
When you program to implement the ItemAdd event in your custom solution, but the event does not fire when a large number of items are added to the folder at once.
Please view this useful MSDN KB Article. It has the information about the issue, its symptoms, workaround solution for this issue.
· How to build an Office COM add-in by using Visual C# .NETMicrosoft Office XP, Microsoft Office 2003, and Microsoft Office 2007 support a uniform design architecture for building application add-ins to enhance and to control Office applications. These add-ins are called Microsoft Component Object Model (COM)...
· How To Build an Office COM Add-in by Using Visual Basic .NETMicrosoft Office 2000 and later support a new, uniform design architecture for building application add-ins to enhance and to control Office applications. These add-ins are called COM add-ins. This step-by-step article discusses Office COM add-ins...
· How to disable Business Contact Manager in Outlook with Business Contact ManagerDescribes how to modify the registry to disable Business Contact Manager in Microsoft Office Outlook 2003 or in Microsoft Office Outlook 2007.
Microsoft Exchange Server 2007 SP1 Help
This download contains a standalone version of Microsoft Exchange Server 2007 SP1 Help.
Microsoft Exchange Server 2007 Service Pack 1 Shell Help
This download contains the Microsoft Exchange Server 2007 Service Pack 1 (SP1) version of the Exchange Management Shell Help.
Please find this useful article, which talks about how to handle Windows Mobile device management and its security solutions can be planned.
Because mobile devices share many of the same characteristics of desktop systems, there is growing interest in management solutions that can provide the same degree of assurance for asset management, inventory, and protection for mobile devices. Microsoft partners offer a wide range of solutions that provide device management and security functionality for Windows Mobile powered devices. This guide describes and categorizes these solutions.
This technical paper describes how trust is established on the Web through certificate authorities, how digital certificates help establish that trust, and how Secure Sockets Layer (SSL) relies on certificates to function.
This guide provides best practices and procedures for implementing a mobile messaging system with Windows Mobile 6 powered devices and Microsoft Exchange Server 2007. Topics include Exchange Server 2007, creating a protected communications environment, configuring Microsoft Internet Security and Acceleration (ISA) Server 2006 or a third-party firewall, and mobile device management and configuration.
This guide begins by covering the essential elements of a mobile messaging system and then moves on to guidelines and resources for the deployment of a mobile messaging system, including setting up Microsoft ActiveSync technology for mobile access, creating a protected communications environment, and procedures for setting up and managing mobile devices
This article provides detailed information about the Microsoft Exchange Server 2007 transport permissions model as well as details about Transport Layer Security (TLS), domain security, and externally-secured authentication in Exchange 2007.
Cached Exchange Mode is a new feature in Outlook 2003.
When you turn on Cached Exchange Mode in Outlook 2003, and when the connection from your computer that is running Outlook 2003 to the Exchange Server 2003 computer is not available, Outlook switches to the Trying to connect state or to the Disconnected state. If the connection is restored, Outlook switches to the Connected state or to the Connected (Headers) state. Any changes that you made while you were offline are synchronized automatically when a connection to a server is available. You can continue to work while changes are synchronized. Outlook 2003 Cached Exchange Mode offers you the following benefits:
• After messages have been cached locally, typical user operations do not cause interactions that block the server.
• Quickflagging, marking a message as read, replying, and editing require a small amount of data to be pushed up to the server to keep the mailboxes synchronized. However, the pushing of data occurs in the background. This behavior causes much faster access to messages and to attachments, because you work from the local copy instead of the server copy. • Additionally, Cached Exchange Mode causes no loss of conventional functionality. New e-mail notifications, full Global Address List details, free/busy lookup, public folder access, and delegate support function as expected. However, this is true only when a network connection to an Exchange Server computer is present. • Cached Exchange Mode provides intelligent use of bandwidth. This functionality is enabled by synchronizing only headers on slow connections (connections that are slower than 128 kilobits per second [Kbps]). This functionality works only when a network connection is present.
Additionally, Cached Exchange Mode offers administrators the following benefits:
• Reduced server load. After messages are cached locally, re-opening the same message does not require server transactions. • Reduced network load. After messages have been pulled over the network one time, subsequent access to those messages does not cause additional network traffic. Because messages are also compressed, there is an additional reduction on network load.
Do you know how Outlook 2003 synchronizes data in Cached Exchange Mode?
Please find this useful article, which discusses about how the Outlook synchronizes the data in Cache mode
When we work with customers, quite often they want to know, what is this server/client side stuff, all about?
When you use Outlook 2003 with Microsoft Exchange Server 2003, you can use both server-based and client-side rules. This small article talks about the differences, functions of server side rules vs. client side rules.
Server-based rules can be processed on the server.
For example, a user who uses the mailbox for the delivery location might have a rule that deletes all e-mail messages from a specific alias. Because both the Inbox and the Deleted Items folder are stored on the server, the rule can be processed there without interaction from the client.
Client-side rules require some processing by the client.
For example, a user has a personal folder (.pst) file where e-mail messages of certain types are stored. The .pst file uses a rule that moves all e-mail messages from a specific alias to that folder. In this case, the server cannot perform all the processing because the .pst file is located on the local computer and can be accessed only by Outlook 2003 and not by Exchange Server. Exchange Server 2003 creates a deferred action item on the server that runs the next time that files are synchronized. Because users must run deferred actions, client-side rules may have a very big effect on system performance, particularly when they work over slower connections.
MailMsg - COM Class
The MailMsg COM class represents a message as it proceeds through the SMTP service.
MailMsg - CoClass
CLSID : 39b16f50-a8ba-11d1-aa91-00aa006bc80b
ProgID : Exchange.MailMsg
Inproc Server : %SystemRoot%\System32\inetsrv\mailmsg.dll
For more detailed information, please read this article.
Are you looking to register the SMTP event sink? Then we need to make use of script called "SMTPReg.vbs". The following event management script demonstrates using the Server Extension Objects (SEO) to manage event bindings for the SMTP service.
Please click here to download the "SMTPReg.vbs"
I found this wonderful article talks about "How to write an OnArrival-type SMTP event sink in managed code by using Visual Studio .NET 2003". It's an interactive article, with step-by-step ways of illustration to create event sink in Managed environment(.Net).
Note: This sample event sink can be used to handle incoming SMTP commands and messages and to process them as needed.
This article contains an overview of how to write event sinks for SMTP events in managed code by using wrappers that obscure some of the details of communicating with the unmanaged server.