Browse by Tags

All Tags » Tips and Tricks (RSS)

Opening files from the VS "Quick find combo"

Ctrl+/ is quickly becoming one of my favorite and most used hotkey in Visual Studio. Pressing it will jump you to the "Quick find Combo" with a ">" already type in for you (which means interpret the text as a VS command). If you are like me you hate...
Posted by puzzlehacker | 4 comment(s)
Filed under: ,

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...

Image File Execution Options

Every now and than while debugging I need to either determine when a dll/module is loaded or need to attach a debugger to a process at startup that is started outside a debugger. I know there are settings that exist to do this but I always seem to forget...
Posted by puzzlehacker | with no comments
Filed under: ,

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 "" )...

Hanselminutes

I've been subscribed to Scott Hanselman 's blog for a long time. I love all the tools, tips, etc he posts. Up until this point I have not really gotten into podcasts however due to Scott 's awesome blog I figured I would give his podcast, Hanselminutes...
Posted by puzzlehacker | 1 comment(s)
Filed under: , ,

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 Next page »