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:4/12/2008 3:19 PM
Blog about VSTO, Office and Outlook development using .net languages. News, Tips & Tricks.

Instyler Software developed an Outlook-Add-in for managing Business traveling times.The Add-in is a must-have for business travelers and freelancers and gives support for managing traveling times.http://www.instyler.com/



Due to the good cooperation between X4U and Instyler I can give away 10 licenses (max. 1 license per user) for free to my blog readers.First 10 readers that drop me a mail with subject: Travel Add-in via the Feedbackformular, receive a free Travel Add-in license.



If you are not a lucky winner and still like this software, you can use a voucher code: TRAVELX4Uto get 30% of the normal price.

The Add-in...

Read More »

Instyler Software hat ein Outlook-Add-in zur Verwaltung von Fahrtzeiten entwickelt.Das Add-in ist ideal für Geschäftsreisende und Freiberufler und unterstützt bei der Fahrtzeitenplanung.http://www.instyler.com/



Dank der guten Zusammenarbeit kann ich meinen treuen Blog-Lesern freundlicherweise 10 Lizenzen (Max. 1 Lizenz pro Benutzer) gratis zur Verfügung stellen.Die ersten 10 Leser welche eine Email mit Betreff: Travel Add-in über das Feedbackformular an mich senden, erhalten eine Travel Add-in Lizenz gratis.



Wenn Sie nicht zu den Gewinnern zählen und Ihnen die Software trotzdem gefällt, können Sie beim Kauf denGutscheincode:...

Read More »

Die Niederländische Benutzergruppe (DIUWG) hat ein SharePoint eMagazin herausgegeben. Das Magazin richtet sich an Entwickler, IT-Profis und Power-Benutzer. Es ist die erste Ausgabe des Magazins und es ist pro Jahr 4 eMagazine und 4 Magazine im Papierformat herauszugeben.

Das Magazin ist in englischer Sprache.

http://www.sdn.nl/IW/FreeMagazine/tabid/139/Default.aspx

Viel Spaß.

The Dutch Software Development Network Usergroup (DIWUG) has published an SharePoint eMagazine free for download. It's their first eMagazine and they are planning to release 4 paper and 4 eMagazines per year.

A free magazine for IT-Pro's, Developers and End (power) Users and optimized to read in eReaders.

http://www.sdn.nl/IW/FreeMagazine/tabid/139/Default.aspx

Happy reading.

In diesem Beispiel möchte ich über meine Erfahrungen zum über das Schliessen eines Formulars per Programmcode berichten.

Vor kurzem habe ich ein Beispiel zum Überprüfen und Absichern von Geschäftsregeln in einem Outlook Add-in berichtet:http://www.outlooksharp.de/Home/tabid/36/EntryId/54/Geschaftsregeln-fur-Outlook-Formulare.aspx

Das Problem: Implementiert man eine Lösung zum Sicherstellen von Geschäftsregeln möchte man den Benutzer darauf hinweisen, dass irgendetwas nicht korrekt ausgefüllt ist. Dazu kann man dem Benutzer einen modalen Dialog(MessageBox) anzeigen. Ist eine der Regeln ungültig, kann der Benutzer weder speichern – noch das Formular schliessen. Man sollte dem Benutzer aber immer die Möglichkeit geben einen Vorgang abzubrechen. Zu diesem Zweck kann man dem Benutzer im der Close-Benachrichtigung einen Dialog mit zwei Schaltflächen anzeigen z.B. Ok und Abbrechen. Klickt der benutzer in diesem Fall auf Abbrechen – soll das Formular einfach geschlossen werden ohne die modifizierten Daten zu speichern. Prinzipiell sieht die Lösung wie folgt aus:...

Read More »

In this post I will share some tips about closing an Inspector without saving changed data programmatically.

Recently I blogged about enforcing BusinessRules within Outlook here:http://www.outlooksharp.de/Home/tabid/36/EntryId/53/Enforcing-business-rules-for-Outlook-Items.aspx

The problem: If you use BusinessRules in your AddIn and validate the rules at the Item_Write and the Item_Close event you may cancel the current operation and display the user a MessageBox that something went wrong. If the rule isn't successfully validated, the user can't close this form. So you need to give the user the opportunity to close the Form without saving the modified values(discard changes). For this case we can display a MessageBox with two buttons (OK/Cancel) to the user. When the user clicks on Cancel, we just want to close the Form without saving the data.To archive this, you can use the following code snippet:

///...

Read More »

Vor kurzem musste ich einem Kunden helfen Geschäftsregeln für Outlook Objekte(Kontakte) zu implementieren. Glücklicherweise habe ich dafür schon mal ein Programmierbeispiel auf der Webseite Outlookcode.com veröffentlicht. Dieses Beispiel ist aber schon ziemlich alt und als Vorlage diente ein sogenanntes "Shared" COM Add-in. Deshalb habe ich mich dazu entschlossen ein aktualisiertes Beispiel hier auf dem Blog zu veröffentlichen und VSTO-Technologie dazu zu benutzen.

Inspector Wrapper Aller Anfang bildet wie immer ein Inspector Wrapper als Vorlage. Vor kurzem habe ich darüber geschrieben – hier kann man das Nachlesen: http://www.outlooksharp.de/Home/tabid/36/EntryId/45/Outlook-InspectorWrapper-erklart.aspx.

Die Grundlage der meisten Outlook-Applikationen ist das korrekte bearbeiten der verschiedenen Outlook Datenobjekte(Item) und deren Fenster(Inspector)....

Read More »

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 »

Dieser Artikel hat zwar nichts mit Outlook und VSTO zu tun, dennoch hat zumindest die Optik eine gewisse Ähnlichkeit mit der neuen Oberfläche der Microsoft Office Anwendungen. In der aktuellen Silverlight CTP von Infragistics ist jetzt ein Ribbon Control (XamlWebRibbon) enthalten. Dadurch ist es sehr einfach Geschäftsanwendungen mit Silverlight zu erstellen. Wie es der Zufall gerade will, arbeite ich mit einem Team an der zukünftigen Lizenzierung von Applikationen. Hierbei geht es nicht alleine um die technische implementierung einer Softwarelizenzierung – nein – auch das ganze drumherum, das Backend, Infrastruktur und die Verwaltung muss natürlich bereitgestellt werden. Ich habe sofort die Chance ergriffen und versuche dieses Backend mit neuesten Technologien mit Hilfe von Silverlight, RIA und Infragistics zu erstellen.



Abbildung 1: Screenshot des Infragistics Ribbon Controls für Silverlight

Normalerweise würde...

Read More »

In diesem wie-wird's-gemacht Artikel möchte ich verschiedene Überlegungen zum Thema Rekursiver Zugriff auf Outlook Ordner und deren Unterordner.

Im Outlook Objekt Model (OOM) wird ein Outlook Ordner durch den MAPIFolderTyp representiert .Es gibt verschiedene Möglichkeiten auf eine MAPIFolder-Instanz zuzugreifen:

Verwendung der Session.GetDefaultFolder(OlDefaultFolders) Methode um Zugriff euf einen der vordefinierten Ordner zu erhalten Mit der Session.GetFolderById(folderId, [optional] storeId) Methode wird ein Ordner anhand seiner EntryId geladen Über die Parent Eigenschaft eines Item Objekts oder eines anderen Ordners Über die Explorer.CurrentFolder Eigenschaft Iterieren über die Folders ansammlung eines Stores oder einer Folder Instanz. Durch erstellen eines neuen Folders Das rekursive iterieren über einen Ordnerbaum und der Zugriff auf dessen Outlook Objekte kann ein ziemlich langsames unterfangen werden. Es hängt ab von der Anzahl der Items in einem Ordner und der ebenentiefe der Unterordner....

Read More »

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