Wes' Puzzling Blog
... trying to solve the puzzles of .NET
-
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 which looks something like:
-
Added CodeHTMLer project at codeplex
In order to help better manage changes to CodeHTMLer I finally added the project on codeplex at http://codeplex.com/CodeHtmer.
-
Fun with C# functions
Dustin Campbell has an interesting series on C# functions on his Did it with .NET blog.
-
Failure creating an Outlook application object on Vista
While creating a Outlook application object from another process in C# like:
-
Why does my Outlook event seem to stop working?
Imagine we have some code in an Outlook addin that looks similar to code below. Does anyone see anything wrong with it? It simply places a button on the menu bar and shows a message box when the button is clicked. The code works for sometime but then all of a sudden the button mysteriously stops working. What gives?
-
Powershell script to find strings and highlight them in the output
After reading about Brad's find script I starting thinking about how cool it would be if I could highlight the search pattern in the output. So I wrote my own custom Find-String script to highlight the results.
-
Retrieving your Outlook appointments for a given date range
Before we dive into the code sample lets take a quick look at what it means for an appointment to fall into a given date range.
-
Reflector 5 Released
Lutz released Reflector for .NET 5.0
-
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 exactly what they are. So for future reference here the registry entries.
-
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.