If you do some searching there is a yahoo group devoted to the IB API with downloadable code examples if I remember correctly.
If you have any programming skills at all I would strongly recommend steering clear of the IB API as it is badly documented, this combined with the constant flakeyness of TWS makes it a constantly moving target.
The breaking of a wave cannot explain the whole sea.
Craig is right in a way, but it depends on how complex you want your system to be. I copied a simple VB6 order entry program from the files section some time ago, modified it to submit just 1 futures contract with bracket orders, and it still works. There have been numerous updates to the API since then, but this one still works - of course, it could stop tomorrow! The group has many very experienced C and Java programmers that are willing to help. (In case you don't know, their demo data is useless, you have to open a funded account to get a paper trading test account).
ps: IB also has a forum - look on their web site under software.