Archive for February, 2007

Foray into Java

Posted: 28th February 2007 by Adam Presley in Development, Java
Tags: , ,

So recently I’ve decided to delve into the world of Java development, or, more specifically, desktop Java development. So far I am liking it. My first task was to write a small application that would accept two dates as input and spit out a tab-separated report of first and last journal entries in a system, [...]

Images in SQL

Posted: 9th February 2007 by Adam Presley in C#, Development
Tags: , ,

So I was presented with a task today of extracting images that were stored in a Microsoft SQL Server 2000 database and save them as JPEG files. Here is a bit of code that will do this. In this code sample I am assuming domain authenticated SQL login. The table name here will be called [...]

Logical Drives and WMI

Posted: 1st February 2007 by Adam Presley in C#, Development
Tags: ,

In an effort to support removable media devices in SyncXpress I’ve had to do a bit of learning about WMI in .NET. It is actually quite cool how much information you can get from WMI about ANY piece of hardware attached to your system, and even INSIDE your system. So in my case I want [...]