In the code you normally have:

_device.Acquire();
_device.Properties.AxisModeAbsolute = false;

At least in my PC (Windows 2000) the second line always causes an exception! Apparently, you may only change this property before acquiring the device and as such the code should be:

_device.Properties.AxisModeAbsolute = false;
_device.Acquire();