Welcome to X4U
Minimize 

Hello visitor.

This is the personal homepage of Helmut Obertanner.
I'm a computer freak and electronic enthusiast and I live in Munich in Germany - the hometown of the famous Oktoberfest.
Why the name X4U? In my case it's a synonym for everything is possible.
I'm an experienced full time C# developer and doing so since .Net Framework 1.0.
As technical enthusiast I started Office development using .Net technologies.
As I searched answers and found help in the Internet I decided to share my knowledge in newsgroups and forums too. For participation, helping other developers, writing how-to's and articles and doing consulting and trainings I received the Microsoft MVP Award for the 3rd time.

As Outlook C# specialist I founded the website Outlooksharp.de
Beside software development, I'm building electronic devices for customers.
Prototypes with SMD PCBs and complete electronic devices with USB connections are my typical portfolio.
You got an Idea and have no plan how to put it to work - give me a call and I tell you if I can help.
A complete solution starts from defining the requirements, design the schematic and PCB, build a functional prototype, program the firmware, program the windows software, design and build a housing prototype.
Usually I work with very cheap PIC 18F Microcontrollers, these multifunctional devices are programmed in C language. 

I'm located in Germany with satisfied customers around the globe.
Enjoy the content of my site and feel free to give me your feedback.
You're welcome.
X4U Blog
 
Author:Helmut ObertannerCreated:Tue, 07 Jul 2009 10:13:45 GMT
Blog about VSTO, Office and Outlook development using .net languages. News, Tips & Tricks.

In Issue 07/2010 of the DotNetPro magazin is an article that I wrote about going behind the Outlook Object Model and using the Windows API to implement an additional event that is missing in the Outlook Version 2003, but new in Outlook 2007. This event is called Inspector "PageChanged" and is fired when the user has selected another page in the Inspector Window. I find this useful and had a requirement for a customer to have this also available in Outlook 2003. So I hacked something together and published an article about it.



On this way I also want to say a big THANK YOU to the team of DotNetPro for supporting us at the Office Community Day 2010 at Microsoft/Unterschleißheim.

Helmut...

Read More »

 

Read More »

Microsoft released documentation for the Outlook PST-File format.

You can download the documentation as PDF-Files from this site:
http://msdn.microsoft.com/en-us/library/ff385210.aspx

Recently I had a customer request helping forcing business rules when saving Outlook Contact Items. Luckily I programmed a sample on how to do this some time ago and published it on Outlookcode.com. While this sample was programmed using a shared Add-in I decided to give it a refresh and update this sample using VSTO.

Inspector Wrapper It all begins with an Inspector Wrapper template. I blogged about it and you can read it here: http://www.outlooksharp.de/Home/tabid/36/EntryId/44/Outlook-Inspector-Wrapper-explained.aspx.

The base for this code sample is to handle each Outlook Item individually. When an Item is opened within Outlook it is monitored by the Inspector. With the Wrapper code it is easy to handle all the Inspectors gracefully. The Item behind the Inspector is exposed by the Inspector.CurrentItem property. In this scenario we are enforcing...

Read More »

In this small how-to we discuss different methods for iterating Outlook Folders and its subfolders.

In the Outlook Object Model (OOM) a folder is represented by a type called MAPIFolder.There are different ways to retrieve a MAPIFolder instance:

Using the Session.GetDefaultFolder(OlDefaultFolders) method to retrieve predefined folders like Inbox Using the Session.GetFolderById(folderId, [optional] storeId) method to retrieve a Folder by its EntryId Retrieving the Parent Property of an Item or another Folder Retrieving the Explorer.CurrentFolder Property Iterate over the Folders collection of a Store or a Folder instance. By creating a new Folder Recursively iterating a folder tree and accessing Outlook Items can be a long running process. It depends on the amount of Items in a Folder and the levels of subfolders. When programming against the Outlook Object Model using .Net(managed) code you need to take care about memory management and how to use the COM Objects. Accessing and retrieving...

Read More »

Today the Outlook team has posted new developer content for Office2010(Beta version) on MSDN. Enjoy!

http://msdn.microsoft.com/en-us/library/ee692176(office.14).aspx

Here you can see what's new for Outlook developers:

http://msdn.microsoft.com/en-us/library/ee692174(office.14).aspx

 

Read More »

 

Read More »

Found this Project on Codeplex.

All-In-One Code Framework code-name CodeFx delineates the framework and skeleton of most Microsoft development techniques (e.g. COM, Data Access, IPC) using typical sample codes in different programming languages (e.g. Visual C#, VB.NET, Visual C++).

The target of the project is to sketch the skeleton of most Microsoft development techniques using typical sample codes that are frequently-asked, tested or used.

  
X4U Blog
 
Home  |  Hardware  |  Software  |  Services  |  Resources  |  Impressum