Mike-Ward.Net

Calling Managed Code from C++ Gotcha

Here’s an issue I ran into the other day. IMarkupServices markup = (IMarkupServices)htmlDocument2; This line of code was embedded in a C# routine. When called from other C# routines, it worked fine. However, when called...

String.Format Tool in SilverLight

Can’t remember how to format a date in universal time using String.Format()? How about scientific format for doubles? This little SilverLight tool helps you to quickly build a String.Format() call for any format-enabled type (int,...

Events and Delegate Shortcuts in C#

The syntax for events and delegates has always struck me as a bit bulky and hard to remember. For instance, to declare an Alarm event seen in many of the Microsoft code samples, you declare...

Unique April Fool's Prank

You’ll see a lot of April Fools’ Pranks on the Web today. This unique spokeshave however, strikes me as a bit more clever than most. This tool is suppose to aid in making tapered dowels....

The Best Free Text Editor

How many times have you’ve seen this title in a blog? There certainly are enough opinions out there and everyone has their favorites. So without further ado here’s my choice - EmEditor. This editor does...

SimpleZip Update

SimpleZip is my .NET (C#) Zip file generator that requires no third-party support libraries. You can read more about it at the Code Project. This update adds one additional API. void ZipTo(IEnumerable fileNames, Stream archiveStream,...

Console application debugging made easier

When debugging console applications in .NET I like the program to pause just before exit so I can study the console output. One way to do this is to set a break point at the...

Windows Vista SP1 - No Issues

With all the negative press out there about Windows Vista SP1, I would like to report that some of us have some how managed to install the service pack despite Microsoft’s best efforts (yes, that...

SimpleZip - Generate Zip files with one line of code

.NET doesn’t have much in the way of built-in archive support. If you want to Zip up some files you can use the open source SharpZipLib or a commercial package like Xceed. There’s also Zip...

Number of Types in the .NET Framework

Well, the answer is not 42. Try 11,417. Check out Brad Abrams blog for more statistics on the .NET library.
.Net, Technology, Life, Whatever

Recent Posts

Quick Tip - Clear ReSharper's Cache to Fix False Errors
Quick Tip - Refined GitHub
Vertical Layout for HTML Tables
Visual Studio 2017 Installer Quick Tip
VSColorOutput for VS 2017 Released
Quick ReSharper tip for inline templates
NoSQL vs. NewSQL: What's the Difference?
More... (1077)

Donate with PayPal