Latest posts
Updated
PowerShell - Convert Array To HashTable
There are many ways to do this, depending on what you need. In this article I'm going to highlight 2 of them. (1) Function-style conversion (2) Filter-style conversion.
Updated
Repair Internet Explorer 9
About a week ago Internet Explorer 9 started showing an error on startup on one of our PCs at work. This solution worked perfectly.
Updated
Cannot Compact VHD Due To File System Limitation
Very likely, deleting your shadow copies on guest machine will help. I just disabled shadow copy on C drive and it worked for me on Windows 2008 R2 + SP1.
Updated
Clean Up After Installing Service Pack 1 on Windows 2008 R2
Here is the command -- In my case I was able to reclaim >10GB of disk space on a system drive.
Updated
VB.NET - Hidden items in a ListBox
There is one good way to dynamically show/hide items in a ListBox - use a DataView as DataSource. You do not need to manually Add and Remove items from your list. In fact, coding effort is very low with this approach.
Updated
32GB ADATA S102 Pro USB3.0 Flash Drive Benchmarked
Here are the results from CrystalDiskMark 3.0.1 (x64), connected over USB2.0 and USB3.0 respectively. Very diligent with specs, and actually performing better at USB2 than advertised by ADATA. Looks like a good deal for 30$.

Updated
VB.NET - Delay form resize-to-fit until it loads
Suppose every once in a while in your application you need to have a popup dialog being shown. This dialog is a value picker, nothing more. It shows as many values as your screen can handle. Problem happens when list population takes considerable amount of time, say, 5 seconds. Until then you are completely unsure which size it needs to resize to.
Updated
VB.NET - Get all controls of specified type from tree
Linearise ControlCollection tree into array of Control - generic extension method, no recursion, LINQ or GetNextControl. See attached project for usage/sample (VB.NET 4.0, Visual Studio 2010).
Updated
Merge Excel 2010 worksheets into one
Step 1. Save each worksheet into an individual file (you will need Developer tab enabled/visible to use the code below - File/Options/Customize Ribbon/Check 'Developer' tab on the right)
Updated
Connecting a router with DD-WRT in repeater mode
Asus RT-N12, DD-WRT v24-sp2 build 14896 (08/07/10), mini image (4MB firmware size), connected to the internet, later being referred to as Router 1. TP-Link TL-WR1043ND, same version, regular firwmare (8MB), later Router 2. Despite routers run on Broadcom and Atheros chips, it was possible to configure them to cooperate. Both internet and local network are now working.