Method #1:
Method #2:
Method #3:
Click
here
to read about and download the source code.