Weblog Posts in July 2011
Opening the Internet Settings Dialog and using Windows Default Network Settings via Code
July 20, 2011 @ 12:02am

Most applications that need to use HTTP to go online require some sort of HTTP configuration options to allow for custom network configurations. An easy way to do this is to rely on the default connection settings that Windows provides. Here's how to use the Windows network settings and how to bring them up visually for editing programmatically.

2 comments
COM ByteArray and Dynamic type issues in .NET
July 18, 2011 @ 1:36am

Ran into an interesting issue today with binary data passed from COM to .NET via a dynamic instance. The result was rather unexpected with dynamic failing to properly cast the binary to byte[] or even a basic object instance.

3 comments
Getting the innermost .NET Exception
July 01, 2011 @ 12:32am

In some cases when exceptions are thrown, the innermost exception is what holds the most important information. For example, dynamic method calls via Reflection or dynamic invocation. Here's a simple funciont that is useful for easily retrieving the innermost exception.

9 comments


West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2014