read some of the other posts. there are quite a few that provide sample code that you can try, as well!