Repair Internet Explorer 9
· ☕ 1 min read
About a week ago Internet Explorer 9 started showing an error on startup on one of our PCs at work. This solution worked perfectly.

Cannot Compact VHD Due To File System Limitation
· ☕ 1 min read
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.

VB.NET - Hidden items in a ListBox
· ☕ 1 min read
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.

32GB ADATA S102 Pro USB3.0 Flash Drive Benchmarked
· ☕ 1 min read
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$.

VB.NET - Delay form resize-to-fit until it loads
· ☕ 1 min read
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.

VB.NET - Get all controls of specified type from tree
· ☕ 1 min read
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).

Merge Excel 2010 worksheets into one
· ☕ 2 min read
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)

Connecting a router with DD-WRT in repeater mode
· ☕ 2 min read
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.

Enable Standby USB on Asus P8Z68-V Pro/GEN3
· ☕ 1 min read
One of the use cases - you might need it to charge your cell phone over USB, while PC is off. By default, this option is disabled on this motherboard - using latest BIOS (v3202). To enable, look under Advanced / Onboard Devices Configuration / Asmedia USB 3.0 Battery Charging Support (see picture to the left - clickable).