Apr 122005
 

Yesterday, I corrected a little bug I discovered. When an appointment had several attendees, my program would create multiple entries in Outlook, each with one attendee. I moved a line of code and now things work like they should.

What I want to achieve, is marking the appointments in a non-default color, which you can do in Outlook manually in the New->Appointment dialog. By default Outlook chooses None, but you have Important, Personal, Holiday, etc. The odd thing is, that the “label” (as it is called in the dialog) is not an exposed property of the AppointmentItem you can set.
You need to access Outlook via de MAPI-interface, look for the Calendar-folder, find the item in the Calendar folder, and then change some properties. Very odd, and not very well documented. I spend a great deal of the evening looking for samples how to do it, but so far I have no working code.

 Posted by at 14:59
Apr 122005
 

I still get a lot of search hits from people looking for a way to change the extensions that cannot be viewed in Outlook, because Microsoft decided in all her wisdom to mark a lot of extensions as “unsafe”. In Outlook Express there is a nice dialog to change this behaviour, in Outlook there is not. You can do it by editing the registry by hand, but a lot of people are afraid to do so.

For that reason, I created ouau.exe, or “Outlook Unsafe Attachments Unblocker”. It detects your Office version (which you can override) and lists the extension so you can block/unblock them. There’s a handy “select all” radiobutton that will save you some clicking.

Here is a screenshot.

Click here to download the program. It’s in WinRAR format, so you need to extract it first.