Posts
Update of Google Chrome Fails - Inconsistent Group Policy
· ☕ 1 min read
It appears that Google Chrome provides a solution for this, available at this link. Unfortunately, it did not work for me, because all options were already set to Not configured and it still could not update. What I did was navigate to registry at HKLM/Software/Policies/Google and delete the Update folder under that. Restarted Chrome, retried updating and it worked flawlessly.

PowerShell - Convert Array To HashTable
· ☕ 1 min read
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.

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)