Browse by Tags

All Tags » Tips and Tricks » Code (RSS)

2008 Scripting Games - My solutions

Here are my solutions to the 2008 Scripting Games scripting competition. This is a rather large post but I decided one post would be better than posting them all individually, this way they will all be in one place when I want to find them later. I had...

All Outlook object model calls run on the main thread

While writing an Outlook addin, lots of people feel that they should try to help with Outlook performance by running their addin code on a background thread. While this can help in some scenarios it can actually make things worse in others, particularly...

Issues with the XmlSerializer in medium trust environments

In my last post I briefly mentioned that CodeHTMLer had issues running in a medium trust environment. The simple web application front end I created kept failing before it ever got started. It keep hitting a SecurityException nested in an InvalidOperationException...

Powershell version of cmd set

If you are like me and are just so used to typing set to list and set environment variables then you might find this script useful. if ( test-path alias:set) { remove-item alias:set > $null } function set { [string] $var = $args if ( $var -eq "" )...

How do I access my Outlook contacts from my web application?

Question How do I access my Outlook contacts from my web application? Short Answer You don't, well at least you shouldn't (It is theoretically possible to access Outlook data from a web application, assuming Outlook is installed and the profile...

Windows Live Writer BlogThis macro for Outlook 2007

If you use Windows Live Writer as your blogging tool and Outlook 2007 as your RSS aggregator then you maybe interested in this VBA macro. It will pull the necessary information from the currently selected RSS Item in Outlook and call the Windows Live...

String Streams in .Net

I while ago (almost 2 years) I posted a way to create a string stream in .Net. There has been a number of new comments added to that post recently so I figured I needed to update that example. Most API's that look for a Stream will also allow either a...
Posted by puzzlehacker | 4 comment(s)
Filed under: , ,
More Posts