Take your pick: Java, VB, C++, delphi, perl, ruby...
http://www.interactivebrokers.com/en/control/apicontrol.php?ib_entity=llc
OR
http://finance.groups.yahoo.com/group/TWSAPI/files/
You will have to do some work on your own but any one of these will give you a good start.