When .NET was first released I was disappointed by the fact that they had not provided a definition for the term “component.” The term was common in the COM days but it was never clearly defined as referring to a particular COM object or the DLL in which the COM object was implemented. Under .NET the definitions […]
I recently wanted a button or keystroke that could automatically toggle the Lock Anchor state for shapes in Microsoft Word. Unfortunately, there didn’t seem to be a built-in Word action for doing this. Using a tip from Cindy Meister I created the following macro that does the trick nicely: Sub ToggleShapeAnchor() Dim newlockAnchorSetting As Boolean If Selection.Type = […]
VS.NET external help didn’t work for me until Michael Stokesbary recommended this post from Rob Caron.
The current C# 2.0 specification includes the following quote: “A comparison operator (==, !=, <, >, <=, >=) has a lifted form when the operand types are both non-nullable value types and the result type is bool. The lifted form of a comparison operator is formed by adding a ? modifier to each operand type […]
For those of you who were not able to make it to Tech Ed 2004 this year, here are several of the developer related talks that will be broadcast over the web (in date order): 1. MSDN Webcast: Live from TechEd: Visual Studio Tools for Office – Nuts and Bolts Â– Level 200 5/24/2004 12:15 PM 2. […]
My primary responsibility at work over the past year has been to be lead a team of developers that is responsible for building a Framework on top of the .NET Framework that fills in all the holes the Microsoft left and defines best patterns and practices for my companies .NET development. I admit that unfortunately sometimes we […]
I have been playing around with the inaccuracies of floats and decided to share some of the simplest comparisons that might surprise folks that use the equality comparisons of floats indiscriminately. The following code listing pretty much captures the issues: using System.Diagnostics; … decimal decimalNumber = 4.2M; double doubleNumber1 = 0.1F * 42F; double doubleNumber2 […]
I unexpectedly received the following dialog from Microsoft Outlook 2003 after dialing in to my VPN. Perhaps what puzzles me most is exactly who “I’m” is referring to. I was not aware that my computer had feelings of remorse — or any feelings for that matter.
I came across two NNTP news reader add-ins for Microsoft Outlook recently. The first is NewsLook and the second is from MAPILab’s. It appears none of the have the fast efficient newsgroup reading support that comes with Agent Newsreader but still, the idea of integrating email, newsgroups and RSS (via NewsGator) is intriguing. By the […]
This article contains a good introduction into the NAS and SAN storage options. I recently received a quote for a custom built half-terabyte computer with hot swappable hard drives and an ATA serial controller. The price was over $2,500, however, and this seemed higher than necessary. You can by off the shelf NAS devices for less than […]