Calvin Hsia's WebLog
thoughts from a professional developer
There’s a folder like c:\Windows\Prefetch on your machine, probably with a few hundred files and a...
Date: 11/30/2018
Many years ago, I was writing real time applications for monitoring sound signals bouncing off...
Date: 10/30/2018
When I first started writing programs many years ago, my computer had only one processor and no...
Date: 09/29/2018
I wanted to know what changed between two versions of a managed assembly. Software changes over...
Date: 08/31/2018
Microsoft Detours from Microsoft Research is a powerful technology to intercept operating system...
Date: 07/26/2018
Visual Studio slowdown because Virus & Threat protection Windows Defender Antivirus is scanning this file
I noticed that if I hit F5 to build and debug some code for a very small solution (1-5 small...
Date: 06/27/2018
AzureAzure lets you get free virtual machines.What does this mean? You can use a free Azure account...
Date: 05/30/2018
Various conic sections (hyperbolas, parabolas, ellipses) have interesting reflective properties....
Date: 03/30/2018
I wanted to create a collection container that would hold objects of various types, all derived from...
Date: 01/31/2018
We know that computers can calculate very quickly, but how do we compare performance between code? I...
Date: 12/30/2017
You can use automation to manipulate various applications, like Word, Excel, Visual Studio, Visual...
Date: 12/01/2017
In Graph Poker Hand Distributions I showed some code to graph poker hands and the distributions of...
Date: 10/31/2017
The good news: It’s very easy to create an extension in Visual Studio. The bad news: It’s also easy...
Date: 09/19/2017
Last time I wrote about getting started using a Raspberry Pi and Windows Internet Of Things. This...
Date: 04/29/2017
With just a few items you can get started building apps for Windows Internet of Things using VB, C#...
Date: 03/16/2017
You might upgrade your Visual Studio Project to VS 2017 and you might get errors like:...
Date: 02/13/2017
I wanted to learn more about what an IMessageFilter is and how it behaves. So I wanted to have some...
Date: 10/29/2016
I created a tool a few years ago that uses a WPF TreeView with huge numbers of nodes. The branching...
Date: 09/29/2016
I wrote a cartoon animation program around 1982 in C. The Honolulu Academy of Arts asked me to demo...
Date: 08/31/2016
It’s easy to use C# code and MSDia140.dll from the Debug Interface Access SDK to examine what’s...
Date: 07/30/2016
Sometimes you write a program and it requires lots of extra storage. Perhaps it needs to deal with...
Date: 06/30/2016
In the days before the internet, email and cell phones: My ice hockey team was in the locker room...
Date: 05/28/2016
Remember the days before the internet? I have a collection of hundreds of programs that I wrote in...
Date: 04/30/2016
(apologies for the formatting: The MSDN blog infrastructure has changed and some tools aren't...
Date: 04/01/2016
I was talking to my son about some of his homework assignments. He had to write several essays. We...
Date: 02/26/2016
In Use the power of Reflection to create and manipulate managed objects I showed how to create a WPF...
Date: 01/29/2016
When you create a Windows Presentation Foundation (WPF) project in Visual Studio, references to WPF...
Date: 12/30/2015
When I first started learning about numbers I remember marveling at what infinity means. How many...
Date: 11/30/2015
A crash dump is very helpful for diagnosing a problem with software. It can contain enough...
Date: 09/30/2015
Sometimes programs will crash on your machine. Windows Error Reporting can send problem reports back...
Date: 08/31/2015
A while ago, computers had blinking lights on a front panel. I recognized various patterns of...
Date: 07/31/2015
Suppose you have five tasks you want your computer to execute and that each takes 1 second to...
Date: 06/30/2015
I was playing around with showing some resizable content in a WPF window. I wanted 2 variable sized...
Date: 05/28/2015
I wanted to get wireless headphones to listen to music. At the office I have 3 desktops, with a...
Date: 04/29/2015
If you followed the steps of the last post (Call C# code from your legacy C++ code), then your C++...
Date: 03/31/2015
For many decades, folks have been quite productive in creating C++ code. These “legacy” apps have...
Date: 02/27/2015
Modern computers can execute millions of instructions per second, and if one of them is erroneous,...
Date: 01/30/2015
You can use the debugger $CALLSTACK and TracePoints to find memory leaks. Memory leaks are very...
Date: 12/27/2014
In the old days of code development, the developer would do several steps repeatedly: 1. edit the...
Date: 11/25/2014
In many prior posts, I export data to Excel via writing to a TEMP file and just starting that TEMP...
Date: 10/30/2014