Kristian Kristensen’s Blog


Silverlight Event in Aarhus on Tuesday

Posted in Microsoft, Misc by Kristian Kristensen on the August 23rd, 2007

On Tuesday the 28th Microsoft Denmark is hosting a presentation day on Silverlight in Århus. I’ll be there. Anybody else?

Trying Out VMWare Fusion for Mac, Default Password on Vista

Posted in Microsoft, Windows Vista by Kristian Kristensen on the August 15th, 2007

I’ve been trying out VMWare Fusion for Mac, which’ll enable me to run Windows on my MacBook. I’ve been using Parallels Desktop for Mac, but apparently Fusion should be much better. So far that assumption holds true. Performance is better, it doesn’t use as many ressoruces, and just generally feels more snappy and integrated. However, I’ve installed Vista in a Virtual Machine, and for some reason it Vista locked my user session. During installation I didn’t specify a password when using the Easy Install feature. So I merrily clicked “log in” and didn’t specify a password. However, apparently a password was set on my user account. Strange and annoying, because I didn’t know what that password was. A Google search revelaed this forum thread: Password for Win Vista. So apparently I’m not the only one experiencing this problem. The last post on the thread yields a solution. If the user account created for you is an administrator, you can create a new administrive account with a password, then log in using this new temp account. From this account you can reset the password on your original account. Works, problem solved, although a bit cumbersome.

Doing Outlook Interop, Security Warnings

Posted in Code by Kristian Kristensen on the August 14th, 2007

I’ve been developing a utility that extracts calendar information from an Exchange server via Outlook using .NET Interop via COM. I had to retrieve who created appointments which is a protected field. This means that the user executing the program will see a dialog pop up asking if he wants to allow the program to access Outlook and the information. Since the utility had to run via Scheduled Jobs I had to remove this dialog, otherwise nothing would happen. I looked around and found the Outlook Security Manager from Add In Express. It’s very easy to use or at least it was after I ironed out some issues. My troubles and solution is documented in this forum support post: Outlook Security Manager, after regsvr32 application fails with Except.
Now my utility works great even via Scheduled Jobs. Success :-)