Category Archives: Tips

IE favorites, NTFS symbolic links and Dropbox

NTFS symlinks Well-known to *nix-users, unknown to most Windows-users. A file or folder can exist in more than one place, meaning the file is stored once to disk, but can have two different names on different locations. If you change it one place the change happens to the other place. I won’t bother going into… Read More »

Should I defrag my SSD?

The answer is: “Yes!” and “No, never!” or somewhere between. SSD disks has overcome the physical limitations of traditional harddisks. It is actually not a harddisk any more because it doesn’t have a disk. Traditionally when you access a fragmented file the data is scattered around on the disk so the read heads has to… Read More »

.Net GUI thread crossing

In this article I thought I’d try to explain the exception: Cross-thread operation not valid: Control ‘someControl’ accessed from a thread other than the thread it was created on. This article is a simplification and applies to WinForm and WPF (though samples are for WinForm). What is the GUI thread? When an application starts the… Read More »

Disable Windows 7 Sound Card Jack Sensing

Windows attempts to auto detect any changes to the plugs in your sound card. That doesn’t work well with my sound card (X-Fi something) so the speakers keep falling in and out randomly. Solution: The sound card drivers are located under the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E96C-E325-11CE-BFC1-08002BE10318} Search for “EnableDynamicDevices” (located under GlobalSettings somewhere) and set it… Read More »

BitLocker startup error 0x26000070

I’m using BitLocker for HD encryption on all partitions, USB disks and USB pens. For USB* it works fine by just asking for a password. But for HD encryption it is a bit more complicated. Basically BitLocker should encrypt your HD without you having to provide any password at every startup. It should also be… Read More »

.Net tools to use: Nini

http://nini.sourceforge.net/ Nini Description An uncommonly powerful .NET configuration library. Use this for reading web.config (instead of .Net built-in System.Configuration…) and any other .ini-file or .xml-file containing configuration. Difficulty 2 lines to read (usually called at page_load or similar). Sample usage:

  Advantages Automatic type conversion (GetString, GetInt, GetBool, etc). Configuration can be both read… Read More »