The Art of Workaround™

Comments 0

Bidirectional binding fails: The case of the ghost event

In an attempt to improve user experience, I decided to create a custom check box control with explicit indication of the two checked states using dual radio buttons. All worked well until I tested binding. It failed. The control could set the bound value but failed to set it. The culprit turned out to be […]


Comments 0

The Magic Number 5.0 +/- 0.1

Our KEPCO BHK-500-80MG power supply will not force a 5.0mA current. It will output 4.9mA or 5.1mA, which spells out the workaround, but instead of 5.0mA a current of 1.024mA is output.


Comments 0

Installer Command Line

Visual Studio installation actions allow specifying command line parameters. Recently, I tried using this to get a handle on the target directory where the applicaiton is installed. Unfortunately, the installer fails parsing the [TARGETDIR] property. The installer aborts reporting a failure to find a file or assembly in C:WindowsSystem32FileISRMyPoductName. The installation log sheds no additional […]


Comments 0

Visual Studio 2008 Package Fails to Load

Yet another item for practicing The Art of Work Around(r). This time, I was tackling an installation package that has been giving my client a hard time. While debugging the installer Visual Studio began crushing following the message: “Visual Studio Explorer [or Settings] and Designer Package failed to load properly….” The message indicated that I […]


Comments 0

NI VISA Interface Clear Workaround

NI VIsa Interface Clear has a minor bug causing it to time out if no resources exist on the bus.  Here is a method aimed at a work around as part of a class that inherits the NationalInstruments.VisaNS.GpibInterface. ”’ <summary>Issues an interface clear.</summary> ”’ <returns>Returns <see cref=”VisaStatusCode”>Visa status code</see>. ”’ </returns> ”’ <remarks>Works around the […]